Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
306 changes: 0 additions & 306 deletions .basedpyright/baseline.bfabric.json
Original file line number Diff line number Diff line change
Expand Up @@ -1814,312 +1814,6 @@
}
}
],
"./bfabric/src/bfabric/entities/core/references.py": [
{
"code": "reportExplicitAny",
"range": {
"startColumn": 83,
"endColumn": 86,
"lineCount": 1
}
},
{
"code": "reportUnannotatedClassAttribute",
"range": {
"startColumn": 13,
"endColumn": 20,
"lineCount": 1
}
},
{
"code": "reportUnannotatedClassAttribute",
"range": {
"startColumn": 13,
"endColumn": 30,
"lineCount": 1
}
},
{
"code": "reportUnannotatedClassAttribute",
"range": {
"startColumn": 13,
"endColumn": 22,
"lineCount": 1
}
},
{
"code": "reportUnannotatedClassAttribute",
"range": {
"startColumn": 13,
"endColumn": 22,
"lineCount": 1
}
},
{
"code": "reportUnannotatedClassAttribute",
"range": {
"startColumn": 13,
"endColumn": 19,
"lineCount": 1
}
},
{
"code": "reportExplicitAny",
"range": {
"startColumn": 32,
"endColumn": 35,
"lineCount": 1
}
},
{
"code": "reportUnknownMemberType",
"range": {
"startColumn": 19,
"endColumn": 30,
"lineCount": 1
}
},
{
"code": "reportUnknownMemberType",
"range": {
"startColumn": 19,
"endColumn": 30,
"lineCount": 1
}
},
{
"code": "reportUnknownVariableType",
"range": {
"startColumn": 19,
"endColumn": 36,
"lineCount": 1
}
},
{
"code": "reportAny",
"range": {
"startColumn": 41,
"endColumn": 50,
"lineCount": 1
}
},
{
"code": "reportAny",
"range": {
"startColumn": 16,
"endColumn": 25,
"lineCount": 1
}
},
{
"code": "reportUnknownMemberType",
"range": {
"startColumn": 12,
"endColumn": 23,
"lineCount": 1
}
},
{
"code": "reportUnknownMemberType",
"range": {
"startColumn": 12,
"endColumn": 23,
"lineCount": 1
}
},
{
"code": "reportUnknownMemberType",
"range": {
"startColumn": 15,
"endColumn": 26,
"lineCount": 1
}
},
{
"code": "reportUnknownVariableType",
"range": {
"startColumn": 15,
"endColumn": 32,
"lineCount": 1
}
},
{
"code": "reportAny",
"range": {
"startColumn": 8,
"endColumn": 19,
"lineCount": 1
}
},
{
"code": "reportExplicitAny",
"range": {
"startColumn": 40,
"endColumn": 43,
"lineCount": 1
}
},
{
"code": "reportAny",
"range": {
"startColumn": 15,
"endColumn": 20,
"lineCount": 1
}
},
{
"code": "reportAny",
"range": {
"startColumn": 12,
"endColumn": 48,
"lineCount": 1
}
},
{
"code": "reportOptionalMemberAccess",
"range": {
"startColumn": 76,
"endColumn": 85,
"lineCount": 1
}
},
{
"code": "reportAny",
"range": {
"startColumn": 16,
"endColumn": 76,
"lineCount": 1
}
},
{
"code": "reportOptionalMemberAccess",
"range": {
"startColumn": 97,
"endColumn": 106,
"lineCount": 1
}
},
{
"code": "reportExplicitAny",
"range": {
"startColumn": 33,
"endColumn": 36,
"lineCount": 1
}
},
{
"code": "reportAny",
"range": {
"startColumn": 18,
"endColumn": 23,
"lineCount": 1
}
},
{
"code": "reportUnknownArgumentType",
"range": {
"startColumn": 20,
"endColumn": 30,
"lineCount": 1
}
},
{
"code": "reportAny",
"range": {
"startColumn": 24,
"endColumn": 29,
"lineCount": 1
}
},
{
"code": "reportExplicitAny",
"range": {
"startColumn": 31,
"endColumn": 34,
"lineCount": 1
}
},
{
"code": "reportUnknownArgumentType",
"range": {
"startColumn": 58,
"endColumn": 63,
"lineCount": 1
}
},
{
"code": "reportArgumentType",
"range": {
"startColumn": 58,
"endColumn": 69,
"lineCount": 1
}
},
{
"code": "reportArgumentType",
"range": {
"startColumn": 100,
"endColumn": 117,
"lineCount": 1
}
},
{
"code": "reportUnknownVariableType",
"range": {
"startColumn": 70,
"endColumn": 74,
"lineCount": 1
}
},
{
"code": "reportUnknownArgumentType",
"range": {
"startColumn": 63,
"endColumn": 67,
"lineCount": 1
}
},
{
"code": "reportUnknownVariableType",
"range": {
"startColumn": 91,
"endColumn": 95,
"lineCount": 1
}
},
{
"code": "reportArgumentType",
"range": {
"startColumn": 57,
"endColumn": 61,
"lineCount": 1
}
},
{
"code": "reportExplicitAny",
"range": {
"startColumn": 30,
"endColumn": 33,
"lineCount": 1
}
},
{
"code": "reportAny",
"range": {
"startColumn": 58,
"endColumn": 76,
"lineCount": 1
}
},
{
"code": "reportAny",
"range": {
"startColumn": 78,
"endColumn": 89,
"lineCount": 1
}
}
],
"./bfabric/src/bfabric/entities/core/uri.py": [
{
"code": "reportArgumentType",
Expand Down
1 change: 1 addition & 0 deletions bfabric/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Minor breaking changes are still possible in `1.X.Y` but we try to announce them
- Type hints have been narrowed in the public interfaces of the following classes:
- `Bfabric`
- `ResultContainer`
- `References`
- `Entity`
- `EntityReader`
- `EngineSuds`
Expand Down
6 changes: 5 additions & 1 deletion bfabric/src/bfabric/entities/core/entity.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
# pyright: reportImportCycles=false

from __future__ import annotations

import warnings
from functools import cached_property
from typing import TYPE_CHECKING, Self, TypeGuard

from bfabric.entities.core.mixins.find_mixin import FindMixin
from bfabric.entities.core.references import References
from bfabric.entities.core.uri import EntityUri

if TYPE_CHECKING:
from pathlib import Path
from typing import Any

from bfabric import Bfabric
from bfabric.entities.core.references import References
from bfabric.typing import ApiResponseDataType, ApiResponseObjectType


Expand Down Expand Up @@ -86,6 +88,8 @@ def data_dict(self) -> ApiResponseObjectType:
@cached_property
def refs(self) -> References:
"""Returns the entity's references manager."""
from bfabric.entities.core.references import References

return References(client=self._client, bfabric_instance=self.__bfabric_instance, data_ref=self.__data_dict)

@property
Expand Down
Loading