Skip to content

nomenclature changes in SDK causing confusion. #475

Closed

Description

@gsaluja9

SDK has classes with suffix model in pydantic derivatives.

Rename the following:

  • QueryTypes -> DataModels
  • Model -> VideoDataModel
  • generate_save_query - > generate_add_query
  • execute_batch - > execute (and refactor out of PQ), Also change references to execute (from db.query)
  • db = create_connector() -> client = create_connector() (more apt meaning for what create_connector returns)
  • hierarchy : can it be brought back in docs? #482

Activity

  1. self-assigned this
    on Sep 11, 2024
  2. gsaluja9 commented on Sep 16, 2024

    @gsaluja9
    ContributorAuthor

    Also not call a generator unless it is a python generator ?

  3. gsaluja9 commented on Sep 17, 2024

    @gsaluja9
    ContributorAuthor

    Also not call a generator unless it is a python generator ?

    @bovlb . I fear that this would need to be reworked separately. Even the way we've implemented Subscriptble is better served by a type in python called Sequence. I have read the docs here, but still not sure on the best course of action.

    Also somebody dabbling into all this would be really deep in the codebase, but I doubt if cloud users would be that audience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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