fix: support nested generics with partial (#1207) #1501
Annotations
17 errors and 7 warnings
Pyright (ubuntu-latest, 3.11):
instructor/dsl/partial.py#L109
Expected class but received "type[Any] | None"
"None" is not a class (reportGeneralTypeIssues)
|
Pyright (ubuntu-latest, 3.11):
instructor/dsl/partial.py#L112
Type of "annotation" is partially unknown
Type of "annotation" is "type[Any] | type[None] | type[Partial[BaseModel]] | Unknown | None" (reportUnknownMemberType)
|
Pyright (ubuntu-latest, 3.11):
instructor/dsl/partial.py#L112
Return type, "tuple[type[Any] | type[None] | type[Partial[BaseModel]] | Unknown | None, FieldInfo]", is partially unknown (reportUnknownVariableType)
|
Pyright (ubuntu-latest, 3.11)
3 errors
|
Pyright (macos-latest, 3.10)
The job was canceled because "ubuntu-latest_3_11" failed.
|
Pyright (macos-latest, 3.10):
instructor/dsl/partial.py#L109
Expected class but received "type[Any] | None"
"None" is not a class (reportGeneralTypeIssues)
|
Pyright (macos-latest, 3.10):
instructor/dsl/partial.py#L112
Type of "annotation" is partially unknown
Type of "annotation" is "type[Any] | type[None] | type[Partial[BaseModel]] | Unknown | None" (reportUnknownMemberType)
|
Pyright (macos-latest, 3.10):
instructor/dsl/partial.py#L112
Return type, "tuple[type[Any] | type[None] | type[Partial[BaseModel]] | Unknown | None, FieldInfo]", is partially unknown (reportUnknownVariableType)
|
Pyright (macos-latest, 3.10)
3 errors
|
Pyright (macos-latest, 3.9)
The job was canceled because "ubuntu-latest_3_11" failed.
|
Pyright (macos-latest, 3.9)
The operation was canceled.
|
Pyright (ubuntu-latest, 3.10)
The job was canceled because "ubuntu-latest_3_11" failed.
|
Pyright (ubuntu-latest, 3.10)
The operation was canceled.
|
Pyright (ubuntu-latest, 3.9)
The job was canceled because "ubuntu-latest_3_11" failed.
|
Pyright (ubuntu-latest, 3.9)
A task was canceled.
|
Pyright (macos-latest, 3.11)
The job was canceled because "ubuntu-latest_3_11" failed.
|
Pyright (macos-latest, 3.11)
The operation was canceled.
|
Pyright (ubuntu-latest, 3.11)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Pyright (ubuntu-latest, 3.10)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Pyright (macos-latest, 3.10)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Pyright (macos-latest, 3.9)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Pyright (ubuntu-latest, 3.11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Pyright (ubuntu-latest, 3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Pyright (macos-latest, 3.11)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|