Generated fields type resolution #194
Annotations
10 errors and 18 warnings
Typing:
strawberry_django/fields/base.py#L41
Import "django.db.models.fields.generated" could not be resolved (reportMissingImports)
|
Typing:
strawberry_django/fields/base.py#L210
Cannot access attribute "output_field" for class "ForeignKey[Unknown]"
Attribute "output_field" is unknown (reportAttributeAccessIssue)
|
Typing:
strawberry_django/fields/base.py#L210
Cannot access attribute "output_field" for class "Field[Any, Any]"
Attribute "output_field" is unknown (reportAttributeAccessIssue)
|
Typing:
strawberry_django/fields/base.py#L210
Cannot access attribute "output_field" for class "ForeignObjectRel"
Attribute "output_field" is unknown (reportAttributeAccessIssue)
|
Typing:
strawberry_django/fields/types.py#L42
Import "django.db.models.fields.generated" could not be resolved (reportMissingImports)
|
Typing:
strawberry_django/fields/types.py#L479
Cannot access attribute "output_field" for class "Field[Unknown, Unknown]"
Attribute "output_field" is unknown (reportAttributeAccessIssue)
|
Typing:
strawberry_django/fields/types.py#L479
Cannot access attribute "output_field" for class "ForeignObjectRel"
Attribute "output_field" is unknown (reportAttributeAccessIssue)
|
Typing:
tests/fields/test_types.py#L51
"GeneratedField" is not a known attribute of module "django.db.models" (reportAttributeAccessIssue)
|
Typing:
tests/fields/test_types.py#L60
"GeneratedField" is not a known attribute of module "django.db.models" (reportAttributeAccessIssue)
|
Typing:
tests/fields/test_types.py#L144
Argument of type "tuple[Literal['generated_nullable_decimal'], type[Decimal] | type[None]]" cannot be assigned to parameter "object" of type "tuple[str, type[ID]] | tuple[str, type[bool]] | tuple[str, type[str]] | tuple[str, type[date]] | tuple[str, type[datetime]] | tuple[str, type[Decimal]] | tuple[str, type[DjangoFileType]] | tuple[str, type[float]] | tuple[str, type[int]] | tuple[str, type[DjangoImageType]] | tuple[str, type[time]] | tuple[str, type[UUID]] | tuple[str, type[JSON]]" in function "append"
Type "tuple[Literal['generated_nullable_decimal'], type[Decimal] | type[None]]" is incompatible with type "tuple[str, type[ID]] | tuple[str, type[bool]] | tuple[str, type[str]] | tuple[str, type[date]] | tuple[str, type[datetime]] | tuple[str, type[Decimal]] | tuple[str, type[DjangoFileType]] | tuple[str, type[float]] | tuple[str, type[int]] | tuple[str, type[DjangoImageType]] | tuple[str, type[time]] | tuple[str, type[UUID]] | tuple[str, type[JSON]]"
"tuple[Literal['generated_nullable_decimal'], type[Decimal] | type[None]]" is incompatible with "tuple[str, type[ID]]"
Tuple entry 2 is incorrect type
Type "type[Decimal] | type[None]" is incompatible with type "type[ID]"
"type[Decimal]" is incompatible with "type[ID]"
Type "type[Decimal]" is incompatible with type "type[ID]"
"tuple[Literal['generated_nullable_decimal'], type[Decimal] | type[None]]" is incompatible with "tuple[str, type[bool]]"
Tuple entry 2 is incorrect type
... (reportArgumentType)
|
Typing
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Typing
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
|
tests (4.2.*, 3.9, geos)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (4.2.*, 3.11, std)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (4.2.*, 3.10, geos)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (4.2.*, 3.10, std)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (4.2.*, 3.11, geos)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (4.2.*, 3.8, std)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (4.2.*, 3.9, std)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (4.2.*, 3.8, geos)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (4.2.*, 3.12, geos)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (4.2.*, 3.12, std)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (5.0.*, 3.10, geos)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (5.0.*, 3.11, std)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (5.0.*, 3.10, std)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (5.0.*, 3.11, geos)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (5.0.*, 3.12, std)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (5.0.*, 3.12, geos)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|