Skip to content

Datasets object is implicitly bound to one selected dataset in a counter-intuitive way #4

@curusarn

Description

@curusarn

Consider following code:

SOME_ID = "e4c77e0e-2bfa-42e2-baa2-33515e5e45ac"
DIFFERENT_ID = "8b88a424-dbd8-4032-8be7-a930a415b9a5"

ds = Datasets()                # creates Datasets() object
ds.info(id=SOME_ID)            # downloads data and returns info for SOME_ID
ds.info(id=DIFFERENT_ID)       # uses cached data and returns info for SOME_ID

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions