kodexa 7.0.9017589911__tar.gz → 7.0.9017913951__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.
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/PKG-INFO +1 -1
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/platform/client.py +4 -3
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/pyproject.toml +1 -1
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/LICENSE +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/README.md +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/__init__.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/assistant/__init__.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/assistant/assistant.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/connectors/__init__.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/connectors/connectors.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/model/__init__.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/model/base.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/model/entities/__init__.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/model/entities/product.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/model/entities/product_subscription.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/model/model.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/model/objects.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/model/persistence.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/pipeline/__init__.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/pipeline/pipeline.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/platform/__init__.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/platform/interaction.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/platform/kodexa.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/selectors/__init__.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/selectors/ast.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/selectors/core.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/selectors/lexrules.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/selectors/lextab.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/selectors/lextab.pyi +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/selectors/parserules.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/selectors/parserules.pyi +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/selectors/parsetab.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/selectors/parsetab.pyi +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/spatial/__init__.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/spatial/azure_models.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/spatial/bbox_common.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/spatial/table_form_common.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/steps/__init__.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/steps/common.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/testing/__init__.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/testing/test_components.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/testing/test_utils.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/training/__init__.py +0 -0
- {kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/training/train_utils.py +0 -0
@@ -2787,12 +2787,13 @@ class ProjectsEndpoint(EntitiesEndpoint):
|
|
2787
2787
|
"""
|
2788
2788
|
return PageProjectEndpoint
|
2789
2789
|
|
2790
|
-
def find_by_name(self, project_name: str) -> Optional[ProjectEndpoint]:
|
2790
|
+
def find_by_name(self, project_name: str, organization: Optional[Organization] = None) -> Optional[ProjectEndpoint]:
|
2791
2791
|
"""
|
2792
2792
|
Find a project by name.
|
2793
2793
|
|
2794
2794
|
Args:
|
2795
2795
|
project_name (str): The name of the project to find.
|
2796
|
+
organization (Organization, optional): The organization to search in. Defaults to None.
|
2796
2797
|
|
2797
2798
|
Returns:
|
2798
2799
|
Optional[ProjectEndpoint]: The project endpoint if found, None otherwise.
|
@@ -2800,8 +2801,8 @@ class ProjectsEndpoint(EntitiesEndpoint):
|
|
2800
2801
|
|
2801
2802
|
url = f"/api/{self.get_type()}"
|
2802
2803
|
filters = {"filter": [f"name: '{project_name}'"]}
|
2803
|
-
if
|
2804
|
-
filters["filter"].append(f"organization.id: '{
|
2804
|
+
if organization is not None:
|
2805
|
+
filters["filter"].append(f"organization.id: '{organization.id}'")
|
2805
2806
|
get_response = self.client.get(url, params=filters)
|
2806
2807
|
if len(get_response.json()["content"]) > 0:
|
2807
2808
|
return ProjectEndpoint.model_validate(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "kodexa"
|
3
|
-
version = "7.0.
|
3
|
+
version = "7.0.09017913951"
|
4
4
|
description = "Python SDK for the Kodexa Platform"
|
5
5
|
authors = ["Austin Redenbaugh <austin@kodexa.com>", "Philip Dodds <philip@kodexa.com>", "Romar Cablao <rcablao@kodexa.com>", "Amadea Paula Dodds <amadeapaula@kodexa.com>"]
|
6
6
|
readme = "README.md"
|
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
|
{kodexa-7.0.9017589911 → kodexa-7.0.9017913951}/kodexa/model/entities/product_subscription.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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|