documente_shared 0.1.200__tar.gz → 0.1.200b1__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.
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/PKG-INFO +1 -1
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/workspace_document.py +1 -7
- documente_shared-0.1.200b1/documente_shared/infrastructure/lambdas.py +38 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/pyproject.toml +1 -1
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/uv.lock +25 -25
- documente_shared-0.1.200/documente_shared/infrastructure/lambdas.py +0 -15
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/.claude/commands/commit.md +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/.github/workflows/publish.yml +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/.gitignore +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/.vscode/settings.json +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/Dockerfile +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/Makefile +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/README.md +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/cases.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/docker-compose.yml +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/dates.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/digest.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/exceptions.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/files.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/json.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/logging.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/numbers.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/payloads.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/query_params.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/retry_utils.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/time_utils.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/timezone.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/base_enum.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/constants.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/document.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/document_metadata.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/document_type.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/in_memory_document.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/layout.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/processing_case.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/processing_case_filters.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/processing_case_item.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/processing_case_item_filters.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/processing_documents.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/processing_event.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/processing_record.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/scaling.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/workspace.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/workspace_document_page.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/circular_oficio.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/common.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/document.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/document_type_record.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/processing_case.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/processing_case_validator.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/vnext.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/workspace.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/exceptions.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/filters/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/filters/document_type.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/filters/workspace.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/filters/workspace_document.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/filters/workspace_document_page.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/helpers/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/helpers/dicts.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/helpers/encoding.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/helpers/lists.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/helpers/values.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/interfaces/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/interfaces/queue.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/interfaces/scaling.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/pagination/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/pagination/entities.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/pagination/response.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/repositories/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/repositories/document.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/repositories/document_type.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/repositories/processing_case.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/repositories/processing_case_item.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/repositories/processing_record.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/repositories/workspace.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/repositories/workspace_document.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/repositories/workspace_document_page.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/batch_queue.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/documente_client.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/dynamo_table.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/dynamo_document.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/dynamo_processing_case.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/dynamo_processing_case_item.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/http_document.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/http_document_type.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/http_processing_case.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/http_processing_case_item.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/http_processing_record.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/http_workspace.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/http_workspace_document.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/http_workspace_document_page.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/mem_document.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/mem_processing_case.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/mem_processing_case_item.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/repositories/mem_processing_record.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/s3_bucket.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/services/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/services/http_scaling.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/sqs_queue.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/presentation/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/presentation/presenters.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/publish.sh +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/application/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/application/test_files.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/application/test_payloads.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/conftest.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/domain/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/domain/entities/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/domain/entities/test_in_memory_document.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/domain/entities/test_processing_case.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/domain/entities/test_processing_case_item.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/domain/entities/test_processing_record.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/domain/enums/test_processing_case_validator.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/infrastructure/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/infrastructure/repositories/__init__.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/infrastructure/repositories/test_http_processing_record.py +0 -0
- {documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documents.py +0 -0
|
@@ -27,7 +27,6 @@ class WorkspaceDocument(BaseModel):
|
|
|
27
27
|
processing_time: Decimal | None = Field(default=None)
|
|
28
28
|
metadata: dict | None = Field(default_factory=dict)
|
|
29
29
|
extraction: dict | None = Field(default_factory=dict)
|
|
30
|
-
mapped_output: dict | None = Field(default=None)
|
|
31
30
|
uploaded_at: datetime | None = Field(default=None)
|
|
32
31
|
created_at: datetime | None = Field(default=None)
|
|
33
32
|
updated_at: datetime | None = Field(default=None)
|
|
@@ -37,7 +36,7 @@ class WorkspaceDocument(BaseModel):
|
|
|
37
36
|
|
|
38
37
|
@property
|
|
39
38
|
def to_persist_dict(self) -> dict:
|
|
40
|
-
|
|
39
|
+
return {
|
|
41
40
|
"tenant_id": self.tenant_id,
|
|
42
41
|
"workspace_id": str(self.workspace_id),
|
|
43
42
|
"document_type_id": optional_str(self.document_type_id),
|
|
@@ -56,9 +55,6 @@ class WorkspaceDocument(BaseModel):
|
|
|
56
55
|
"metadata": self.metadata or {},
|
|
57
56
|
"extraction": self.extraction or {},
|
|
58
57
|
}
|
|
59
|
-
if self.mapped_output is not None:
|
|
60
|
-
data["mapped_output"] = self.mapped_output
|
|
61
|
-
return data
|
|
62
58
|
|
|
63
59
|
@property
|
|
64
60
|
def to_dict(self) -> dict:
|
|
@@ -78,7 +74,6 @@ class WorkspaceDocument(BaseModel):
|
|
|
78
74
|
"processing_time": optional_str(self.processing_time),
|
|
79
75
|
"metadata": self.metadata,
|
|
80
76
|
"extraction": self.extraction,
|
|
81
|
-
"mapped_output": self.mapped_output,
|
|
82
77
|
"uploaded_at": optional_datetime_str(self.uploaded_at),
|
|
83
78
|
"started_at": optional_datetime_str(self.started_at),
|
|
84
79
|
"completed_at": optional_datetime_str(self.completed_at),
|
|
@@ -106,7 +101,6 @@ class WorkspaceDocument(BaseModel):
|
|
|
106
101
|
),
|
|
107
102
|
metadata=data.get("metadata", {}),
|
|
108
103
|
extraction=data.get("extraction", {}),
|
|
109
|
-
mapped_output=data.get("mapped_output", {}),
|
|
110
104
|
uploaded_at=get_datetime_from_data(input_datetime=data.get("uploaded_at")),
|
|
111
105
|
created_at=get_datetime_from_data(input_datetime=data.get("created_at")),
|
|
112
106
|
updated_at=get_datetime_from_data(input_datetime=data.get("updated_at")),
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import json
|
|
2
|
+
from functools import lru_cache
|
|
3
|
+
|
|
4
|
+
import boto3
|
|
5
|
+
from botocore.config import Config
|
|
6
|
+
|
|
7
|
+
DEFAULT_LAMBDA_READ_TIMEOUT = 960
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@lru_cache(maxsize=None)
|
|
11
|
+
def _get_lambda_client(read_timeout: int):
|
|
12
|
+
# Invocations are long running and not idempotent. The read timeout must exceed the target
|
|
13
|
+
# function timeout (900s is Lambda's hard maximum) so the function always fails before the
|
|
14
|
+
# client does: that keeps a read timeout from being retried into a duplicate invocation, and
|
|
15
|
+
# leaves the single retry for connection level failures, where no invocation happened.
|
|
16
|
+
lambda_config = Config(
|
|
17
|
+
read_timeout=read_timeout,
|
|
18
|
+
connect_timeout=30,
|
|
19
|
+
tcp_keepalive=True,
|
|
20
|
+
retries={"max_attempts": 1, "mode": "standard"},
|
|
21
|
+
)
|
|
22
|
+
return boto3.client("lambda", config=lambda_config)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def invoke_lambda(
|
|
26
|
+
function_name: str,
|
|
27
|
+
payload: dict,
|
|
28
|
+
read_timeout: int = DEFAULT_LAMBDA_READ_TIMEOUT,
|
|
29
|
+
) -> dict | list | None:
|
|
30
|
+
client = _get_lambda_client(read_timeout)
|
|
31
|
+
|
|
32
|
+
response = client.invoke(
|
|
33
|
+
FunctionName=function_name,
|
|
34
|
+
InvocationType="RequestResponse",
|
|
35
|
+
Payload=json.dumps(payload),
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
return json.loads(response["Payload"].read().decode("utf-8"))
|
|
@@ -154,7 +154,7 @@ wheels = [
|
|
|
154
154
|
|
|
155
155
|
[[package]]
|
|
156
156
|
name = "documente-shared"
|
|
157
|
-
version = "0.1.
|
|
157
|
+
version = "0.1.200b1"
|
|
158
158
|
source = { editable = "." }
|
|
159
159
|
dependencies = [
|
|
160
160
|
{ name = "boto3" },
|
|
@@ -200,7 +200,7 @@ name = "exceptiongroup"
|
|
|
200
200
|
version = "1.3.1"
|
|
201
201
|
source = { registry = "https://pypi.org/simple" }
|
|
202
202
|
dependencies = [
|
|
203
|
-
{ name = "typing-extensions" },
|
|
203
|
+
{ name = "typing-extensions", marker = "python_full_version < '3.11'" },
|
|
204
204
|
]
|
|
205
205
|
sdist = { url = "https://files.pythonhosted.org/packages/50/79/66800aadf48771f6b62f7eb014e352e5d06856655206165d775e675a02c9/exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219", size = 30371, upload-time = "2025-11-21T23:01:54.787Z" }
|
|
206
206
|
wheels = [
|
|
@@ -263,17 +263,17 @@ resolution-markers = [
|
|
|
263
263
|
"python_full_version < '3.11'",
|
|
264
264
|
]
|
|
265
265
|
dependencies = [
|
|
266
|
-
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
|
267
|
-
{ name = "decorator" },
|
|
268
|
-
{ name = "exceptiongroup" },
|
|
269
|
-
{ name = "jedi" },
|
|
270
|
-
{ name = "matplotlib-inline" },
|
|
271
|
-
{ name = "pexpect", marker = "sys_platform != 'emscripten' and sys_platform != 'win32'" },
|
|
272
|
-
{ name = "prompt-toolkit" },
|
|
273
|
-
{ name = "pygments" },
|
|
274
|
-
{ name = "stack-data" },
|
|
275
|
-
{ name = "traitlets" },
|
|
276
|
-
{ name = "typing-extensions" },
|
|
266
|
+
{ name = "colorama", marker = "python_full_version < '3.11' and sys_platform == 'win32'" },
|
|
267
|
+
{ name = "decorator", marker = "python_full_version < '3.11'" },
|
|
268
|
+
{ name = "exceptiongroup", marker = "python_full_version < '3.11'" },
|
|
269
|
+
{ name = "jedi", marker = "python_full_version < '3.11'" },
|
|
270
|
+
{ name = "matplotlib-inline", marker = "python_full_version < '3.11'" },
|
|
271
|
+
{ name = "pexpect", marker = "python_full_version < '3.11' and sys_platform != 'emscripten' and sys_platform != 'win32'" },
|
|
272
|
+
{ name = "prompt-toolkit", marker = "python_full_version < '3.11'" },
|
|
273
|
+
{ name = "pygments", marker = "python_full_version < '3.11'" },
|
|
274
|
+
{ name = "stack-data", marker = "python_full_version < '3.11'" },
|
|
275
|
+
{ name = "traitlets", marker = "python_full_version < '3.11'" },
|
|
276
|
+
{ name = "typing-extensions", marker = "python_full_version < '3.11'" },
|
|
277
277
|
]
|
|
278
278
|
sdist = { url = "https://files.pythonhosted.org/packages/e5/61/1810830e8b93c72dcd3c0f150c80a00c3deb229562d9423807ec92c3a539/ipython-8.38.0.tar.gz", hash = "sha256:9cfea8c903ce0867cc2f23199ed8545eb741f3a69420bfcf3743ad1cec856d39", size = 5513996, upload-time = "2026-01-05T10:59:06.901Z" }
|
|
279
279
|
wheels = [
|
|
@@ -288,17 +288,17 @@ resolution-markers = [
|
|
|
288
288
|
"python_full_version >= '3.11'",
|
|
289
289
|
]
|
|
290
290
|
dependencies = [
|
|
291
|
-
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
|
292
|
-
{ name = "decorator" },
|
|
293
|
-
{ name = "ipython-pygments-lexers" },
|
|
294
|
-
{ name = "jedi" },
|
|
295
|
-
{ name = "matplotlib-inline" },
|
|
296
|
-
{ name = "pexpect", marker = "sys_platform != 'emscripten' and sys_platform != 'win32'" },
|
|
297
|
-
{ name = "prompt-toolkit" },
|
|
298
|
-
{ name = "pygments" },
|
|
299
|
-
{ name = "stack-data" },
|
|
300
|
-
{ name = "traitlets" },
|
|
301
|
-
{ name = "typing-extensions", marker = "python_full_version
|
|
291
|
+
{ name = "colorama", marker = "python_full_version >= '3.11' and sys_platform == 'win32'" },
|
|
292
|
+
{ name = "decorator", marker = "python_full_version >= '3.11'" },
|
|
293
|
+
{ name = "ipython-pygments-lexers", marker = "python_full_version >= '3.11'" },
|
|
294
|
+
{ name = "jedi", marker = "python_full_version >= '3.11'" },
|
|
295
|
+
{ name = "matplotlib-inline", marker = "python_full_version >= '3.11'" },
|
|
296
|
+
{ name = "pexpect", marker = "python_full_version >= '3.11' and sys_platform != 'emscripten' and sys_platform != 'win32'" },
|
|
297
|
+
{ name = "prompt-toolkit", marker = "python_full_version >= '3.11'" },
|
|
298
|
+
{ name = "pygments", marker = "python_full_version >= '3.11'" },
|
|
299
|
+
{ name = "stack-data", marker = "python_full_version >= '3.11'" },
|
|
300
|
+
{ name = "traitlets", marker = "python_full_version >= '3.11'" },
|
|
301
|
+
{ name = "typing-extensions", marker = "python_full_version == '3.11.*'" },
|
|
302
302
|
]
|
|
303
303
|
sdist = { url = "https://files.pythonhosted.org/packages/a6/60/2111715ea11f39b1535bed6024b7dec7918b71e5e5d30855a5b503056b50/ipython-9.10.0.tar.gz", hash = "sha256:cd9e656be97618a0676d058134cd44e6dc7012c0e5cb36a9ce96a8c904adaf77", size = 4426526, upload-time = "2026-02-02T10:00:33.594Z" }
|
|
304
304
|
wheels = [
|
|
@@ -310,7 +310,7 @@ name = "ipython-pygments-lexers"
|
|
|
310
310
|
version = "1.1.1"
|
|
311
311
|
source = { registry = "https://pypi.org/simple" }
|
|
312
312
|
dependencies = [
|
|
313
|
-
{ name = "pygments" },
|
|
313
|
+
{ name = "pygments", marker = "python_full_version >= '3.11'" },
|
|
314
314
|
]
|
|
315
315
|
sdist = { url = "https://files.pythonhosted.org/packages/ef/4c/5dd1d8af08107f88c7f741ead7a40854b8ac24ddf9ae850afbcf698aa552/ipython_pygments_lexers-1.1.1.tar.gz", hash = "sha256:09c0138009e56b6854f9535736f4171d855c8c08a563a0dcd8022f78355c7e81", size = 8393, upload-time = "2025-01-17T11:24:34.505Z" }
|
|
316
316
|
wheels = [
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import json
|
|
2
|
-
import boto3
|
|
3
|
-
from botocore.config import Config
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def invoke_lambda(function_name: str, payload: dict, read_timeout: int = 60) -> dict | list | None:
|
|
7
|
-
client = boto3.client("lambda", config=Config(read_timeout=read_timeout))
|
|
8
|
-
|
|
9
|
-
response = client.invoke(
|
|
10
|
-
FunctionName=function_name,
|
|
11
|
-
InvocationType="RequestResponse",
|
|
12
|
-
Payload=json.dumps(payload),
|
|
13
|
-
)
|
|
14
|
-
|
|
15
|
-
return json.loads(response["Payload"].read().decode("utf-8"))
|
|
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
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/__init__.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/dates.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/digest.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/exceptions.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/files.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/json.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/logging.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/numbers.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/payloads.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/query_params.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/retry_utils.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/time_utils.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/application/timezone.py
RENAMED
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/base_enum.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/constants.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/__init__.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/document.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/layout.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
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/entities/scaling.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/common.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/document.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/vnext.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/enums/workspace.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/exceptions.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/filters/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/filters/workspace.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/helpers/__init__.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/helpers/dicts.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/helpers/encoding.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/helpers/lists.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/helpers/values.py
RENAMED
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/domain/interfaces/queue.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
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/__init__.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
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/s3_bucket.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/infrastructure/sqs_queue.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/presentation/__init__.py
RENAMED
|
File without changes
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/documente_shared/presentation/presenters.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
|
{documente_shared-0.1.200 → documente_shared-0.1.200b1}/tests/documente_shared/domain/__init__.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
|