Skip to content

methods to create and parse standard resource prefixes with repo_name, directory_path as parameters #10

@tswast

Description

@tswast

As discussed in Yoshi Python Chat and googleapis/python-bigquery#590 (comment)

It'd be good to have some utilities for constructing prefixes for resources based on the repo name and directory name, relative to repo root. This would include a timestamp (so that resources without a created time property could be aged) as well as a random identifier.

Likewise, we could have helpers to parse resource identifiers and determine (1) they match the repo name and directory name and (2) they are older than some time-to-live (24 hours seems a good default)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions