Skip to content

Strange result with tables get #2

@snowch

Description

@snowch

I'm trying to get a list of tables:

  for table in client.tables.get(database_name='vast-db', schema_name='vast-db', page=1, page_size=1000):
        print('table::::', table, type(table))

However, this returns:

table:::: count <class 'str'>
table:::: next <class 'str'>
table:::: previous <class 'str'>
table:::: results <class 'str'>

If I inspect the API calls from my browser when accessing the VMS, I see:

{"count":1,"next":null,"previous":null,"results":[{"database_name":"vast-db","schema_name":"vast-db","name":"aaa","properties":null,"num_rows":0,"size":0}]}

Am I using the vastpy library right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions