industrial-model 0.1.5__tar.gz → 0.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {industrial_model-0.1.5 → industrial_model-0.1.6}/PKG-INFO +1 -1
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/__init__.py +2 -1
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/statements/__init__.py +2 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/statements/expressions.py +6 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/pyproject.toml +1 -1
- {industrial_model-0.1.5 → industrial_model-0.1.6}/uv.lock +1 -1
- {industrial_model-0.1.5 → industrial_model-0.1.6}/.gitignore +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/.python-version +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/.vscode/settings.json +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/README.md +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/__init__.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/filter_mapper.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/optimizer.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/query_mapper.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/query_result_mapper.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/sort_mapper.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/utils.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/view_mapper.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/config.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/constants.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/engines/__init__.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/engines/async_engine.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/engines/engine.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/models/__init__.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/models/base.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/models/entities.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/models/schemas.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/py.typed +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/queries/__init__.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/queries/models.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/queries/params.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/utils.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/scripts/build.sh +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/scripts/format.sh +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/scripts/lint.sh +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/tests/__init__.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/tests/cognite-sdk-config.yaml +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/tests/hubs.py +0 -0
- {industrial_model-0.1.5 → industrial_model-0.1.6}/tests/tests_adapter.py +0 -0
|
@@ -8,12 +8,13 @@ from .models import (
|
|
|
8
8
|
ViewInstance,
|
|
9
9
|
ViewInstanceConfig,
|
|
10
10
|
)
|
|
11
|
-
from .statements import and_, col, or_, select
|
|
11
|
+
from .statements import and_, col, not_, or_, select
|
|
12
12
|
|
|
13
13
|
__all__ = [
|
|
14
14
|
"and_",
|
|
15
15
|
"or_",
|
|
16
16
|
"col",
|
|
17
|
+
"not_",
|
|
17
18
|
"select",
|
|
18
19
|
"ViewInstance",
|
|
19
20
|
"InstanceId",
|
{industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/statements/expressions.py
RENAMED
|
@@ -161,5 +161,11 @@ def or_(*expressions: bool | LeafExpression | BoolExpression) -> bool:
|
|
|
161
161
|
) # type: ignore
|
|
162
162
|
|
|
163
163
|
|
|
164
|
+
def not_(*expressions: bool | LeafExpression | BoolExpression) -> bool:
|
|
165
|
+
return BoolExpression(
|
|
166
|
+
operator="not", filters=_unwrap_expressions(*expressions)
|
|
167
|
+
) # type: ignore
|
|
168
|
+
|
|
169
|
+
|
|
164
170
|
def col(property: Any) -> Column:
|
|
165
171
|
return Column(property)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/__init__.py
RENAMED
|
File without changes
|
{industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/filter_mapper.py
RENAMED
|
File without changes
|
{industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/optimizer.py
RENAMED
|
File without changes
|
{industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/query_mapper.py
RENAMED
|
File without changes
|
|
File without changes
|
{industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/sort_mapper.py
RENAMED
|
File without changes
|
{industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/utils.py
RENAMED
|
File without changes
|
{industrial_model-0.1.5 → industrial_model-0.1.6}/industrial_model/cognite_adapters/view_mapper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|