Skip to content

Enhancement: add support for sqlalchemy.func type #519

Closed

Description

@Harshal6927

Summary

Add support for sqlalchemy.func type so that, for example, using func.random() does not raise a linting error.

Basic Example

Current:

OrderBy(func.random()) # Argument of type "random" cannot be assigned to parameter "field_name" of type "str" in function "__init__" "random" is not assignable to "str"
Image

Drawbacks and Impact

No response

Unresolved questions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions