Skip to content

Deprecated functionalities in sqlalchemy 2.0 #11

Description

@marcomoscasgr

The following query-style statement (https://github.com/wtsi-npg/npgtracking-python/blob/master/src/npgtracking/db/retrieval.py#L59) has been deprecated in 2.0 and should be changed to use execute(query).scalars().all() (to return Row objects) or the newest scalars(query).all() (to return scalars directly)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions