documente_shared 0.1.185b0__tar.gz → 0.1.185b3__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.185b0 → documente_shared-0.1.185b3}/PKG-INFO +1 -1
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/retry_utils.py +0 -20
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/constants.py +1 -6
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/document.py +5 -1
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/processing_case_item.py +4 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/documente_client.py +0 -23
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/pyproject.toml +1 -1
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/uv.lock +1 -1
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/.github/workflows/publish.yml +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/.gitignore +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/.vscode/settings.json +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/Dockerfile +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/Makefile +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/README.md +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/cases.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/docker-compose.yml +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/dates.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/digest.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/exceptions.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/files.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/json.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/logging.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/numbers.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/payloads.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/query_params.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/time_utils.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/timezone.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/base_enum.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/document_metadata.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/document_type.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/in_memory_document.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/processing_case.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/processing_case_filters.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/processing_case_item_filters.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/processing_documents.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/processing_event.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/processing_record.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/scaling.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/workspace.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/workspace_document.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/entities/workspace_document_page.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/enums/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/enums/circular_oficio.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/enums/common.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/enums/document.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/enums/document_type_record.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/enums/processing_case.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/enums/processing_case_validator.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/enums/workspace.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/exceptions.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/filters/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/filters/document_type.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/filters/workspace.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/filters/workspace_document.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/filters/workspace_document_page.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/helpers/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/helpers/dicts.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/helpers/encoding.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/helpers/lists.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/helpers/values.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/interfaces/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/interfaces/queue.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/interfaces/scaling.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/pagination/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/pagination/entities.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/pagination/response.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/repositories/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/repositories/document.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/repositories/document_type.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/repositories/processing_case.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/repositories/processing_case_item.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/repositories/processing_record.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/repositories/workspace.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/repositories/workspace_document.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/repositories/workspace_document_page.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/batch_queue.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/dynamo_table.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/lambdas.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/dynamo_document.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/dynamo_processing_case.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/dynamo_processing_case_item.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/http_document.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/http_document_type.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/http_processing_case.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/http_processing_case_item.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/http_processing_record.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/http_workspace.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/http_workspace_document.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/http_workspace_document_page.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/mem_document.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/mem_processing_case.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/mem_processing_case_item.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/repositories/mem_processing_record.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/s3_bucket.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/services/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/services/http_scaling.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/sqs_queue.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/presentation/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/presentation/presenters.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/publish.sh +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/application/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/application/test_files.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/application/test_payloads.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/conftest.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/domain/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/domain/entities/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/domain/entities/test_in_memory_document.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/domain/entities/test_processing_case.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/domain/entities/test_processing_case_item.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/domain/entities/test_processing_record.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/domain/enums/test_processing_case_validator.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/infrastructure/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/infrastructure/repositories/__init__.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/infrastructure/repositories/test_http_processing_record.py +0 -0
- {documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documents.py +0 -0
|
@@ -2,31 +2,11 @@ import time
|
|
|
2
2
|
import random
|
|
3
3
|
from functools import wraps
|
|
4
4
|
from typing import Optional, Callable
|
|
5
|
-
from urllib3.util.retry import Retry
|
|
6
5
|
import structlog
|
|
7
6
|
|
|
8
7
|
logger = structlog.get_logger()
|
|
9
8
|
|
|
10
9
|
|
|
11
|
-
class HttpRetry(Retry):
|
|
12
|
-
def increment(self, method=None, url=None, response=None, error=None, **kwargs):
|
|
13
|
-
if response is not None:
|
|
14
|
-
logger.warning(
|
|
15
|
-
"[shared.http.retry]",
|
|
16
|
-
method=method,
|
|
17
|
-
url=url,
|
|
18
|
-
status_code=response.status,
|
|
19
|
-
)
|
|
20
|
-
elif error is not None:
|
|
21
|
-
logger.warning(
|
|
22
|
-
"[shared.http.retry_connection_error]",
|
|
23
|
-
method=method,
|
|
24
|
-
url=url,
|
|
25
|
-
error=str(error),
|
|
26
|
-
)
|
|
27
|
-
return super().increment(method=method, url=url, response=response, error=error, **kwargs)
|
|
28
|
-
|
|
29
|
-
|
|
30
10
|
def retry_on_size_integrity(base_delay: float = 0.8, max_retries: int = 3):
|
|
31
11
|
def decorator(func: Callable):
|
|
32
12
|
@wraps(func)
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/constants.py
RENAMED
|
@@ -7,9 +7,4 @@ la_paz_tz = ZoneInfo("America/La_Paz")
|
|
|
7
7
|
DOCUMENTE_API_URL = environ.get("DOCUMENTE_API_URL")
|
|
8
8
|
DOCUMENTE_API_KEY = environ.get("DOCUMENTE_API_KEY")
|
|
9
9
|
|
|
10
|
-
DEFAULT_PAGINATION_PAGE_SIZE = 50
|
|
11
|
-
|
|
12
|
-
HTTP_RETRY_TOTAL = 3
|
|
13
|
-
HTTP_RETRY_BACKOFF_FACTOR = 0.5
|
|
14
|
-
HTTP_RETRY_BACKOFF_JITTER = 0.25
|
|
15
|
-
HTTP_RETRY_STATUS_FORCELIST = frozenset([429, 500, 502, 503, 504])
|
|
10
|
+
DEFAULT_PAGINATION_PAGE_SIZE = 50
|
|
@@ -54,6 +54,7 @@ class DocumentProcessing(object):
|
|
|
54
54
|
metadata: Optional[dict] = None
|
|
55
55
|
document_size: Optional[Decimal] = None
|
|
56
56
|
document_pages: Optional[int] = None
|
|
57
|
+
ocr_render_text: Optional[str] = None
|
|
57
58
|
metadata_items: Optional[List[DocumentProcessingMetadata]] = None
|
|
58
59
|
|
|
59
60
|
def __post_init__(self):
|
|
@@ -302,6 +303,7 @@ class DocumentProcessing(object):
|
|
|
302
303
|
if self.document_size else None
|
|
303
304
|
),
|
|
304
305
|
'document_pages': self.document_pages,
|
|
306
|
+
'ocr_render_text': self.ocr_render_text,
|
|
305
307
|
}
|
|
306
308
|
|
|
307
309
|
@property
|
|
@@ -363,6 +365,7 @@ class DocumentProcessing(object):
|
|
|
363
365
|
'document_size',
|
|
364
366
|
'document_pages',
|
|
365
367
|
'completed_at',
|
|
368
|
+
'ocr_render_text',
|
|
366
369
|
]
|
|
367
370
|
for _property in instance_properties:
|
|
368
371
|
property_value = getattr(new_instance, _property)
|
|
@@ -421,6 +424,7 @@ class DocumentProcessing(object):
|
|
|
421
424
|
Decimal(data.get('document_size'))
|
|
422
425
|
if data.get('document_size') else None
|
|
423
426
|
),
|
|
424
|
-
document_pages=data.get('document_pages')
|
|
427
|
+
document_pages=data.get('document_pages'),
|
|
428
|
+
ocr_render_text=data.get('ocr_render_text'),
|
|
425
429
|
)
|
|
426
430
|
|
|
@@ -32,6 +32,7 @@ class ProcessingCaseItem(object):
|
|
|
32
32
|
completed_at: Optional[datetime] = None
|
|
33
33
|
feedback: Optional[list | dict] = None
|
|
34
34
|
metadata: Optional[dict] = None
|
|
35
|
+
ocr_render_text: Optional[str] = None
|
|
35
36
|
|
|
36
37
|
def __post_init__(self):
|
|
37
38
|
self.feedback = self.feedback or []
|
|
@@ -107,6 +108,7 @@ class ProcessingCaseItem(object):
|
|
|
107
108
|
'completed_at',
|
|
108
109
|
'feedback',
|
|
109
110
|
'metadata',
|
|
111
|
+
'ocr_render_text',
|
|
110
112
|
]
|
|
111
113
|
for _property in instance_properties:
|
|
112
114
|
property_value = getattr(new_instance, _property)
|
|
@@ -205,6 +207,7 @@ class ProcessingCaseItem(object):
|
|
|
205
207
|
self.completed_at.isoformat()
|
|
206
208
|
if self.completed_at else None
|
|
207
209
|
),
|
|
210
|
+
'ocr_render_text': self.ocr_render_text,
|
|
208
211
|
}
|
|
209
212
|
|
|
210
213
|
@property
|
|
@@ -283,6 +286,7 @@ class ProcessingCaseItem(object):
|
|
|
283
286
|
feedback=data.get('feedback'),
|
|
284
287
|
metadata=data.get('metadata', {}),
|
|
285
288
|
completed_at=get_datetime_from_data(input_datetime=data.get('completed_at')),
|
|
289
|
+
ocr_render_text=data.get('ocr_render_text'),
|
|
286
290
|
)
|
|
287
291
|
|
|
288
292
|
@classmethod
|
|
@@ -1,21 +1,9 @@
|
|
|
1
1
|
from contextlib import contextmanager
|
|
2
2
|
from dataclasses import dataclass
|
|
3
3
|
from requests import Response, Session
|
|
4
|
-
from requests.adapters import HTTPAdapter
|
|
5
4
|
from typing import Callable, Optional
|
|
6
5
|
|
|
7
|
-
import structlog
|
|
8
|
-
|
|
9
6
|
from documente_shared.application.payloads import camel_to_snake
|
|
10
|
-
from documente_shared.application.retry_utils import HttpRetry
|
|
11
|
-
from documente_shared.domain.constants import (
|
|
12
|
-
HTTP_RETRY_BACKOFF_FACTOR,
|
|
13
|
-
HTTP_RETRY_BACKOFF_JITTER,
|
|
14
|
-
HTTP_RETRY_STATUS_FORCELIST,
|
|
15
|
-
HTTP_RETRY_TOTAL,
|
|
16
|
-
)
|
|
17
|
-
|
|
18
|
-
logger = structlog.get_logger()
|
|
19
7
|
|
|
20
8
|
|
|
21
9
|
@dataclass
|
|
@@ -31,17 +19,6 @@ class DocumenteClientMixin(object):
|
|
|
31
19
|
def _get_session(self) -> Session:
|
|
32
20
|
session = Session()
|
|
33
21
|
session.headers.update(self.get_common_headers())
|
|
34
|
-
retry_strategy = HttpRetry(
|
|
35
|
-
total=HTTP_RETRY_TOTAL,
|
|
36
|
-
backoff_factor=HTTP_RETRY_BACKOFF_FACTOR,
|
|
37
|
-
backoff_jitter=HTTP_RETRY_BACKOFF_JITTER,
|
|
38
|
-
status_forcelist=HTTP_RETRY_STATUS_FORCELIST,
|
|
39
|
-
allowed_methods=["GET", "POST", "PUT", "PATCH", "DELETE"],
|
|
40
|
-
raise_on_status=False,
|
|
41
|
-
)
|
|
42
|
-
adapter = HTTPAdapter(max_retries=retry_strategy)
|
|
43
|
-
session.mount("http://", adapter)
|
|
44
|
-
session.mount("https://", adapter)
|
|
45
22
|
return session
|
|
46
23
|
|
|
47
24
|
def get_common_headers(self) -> dict:
|
|
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.185b0 → documente_shared-0.1.185b3}/documente_shared/application/__init__.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/dates.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/digest.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/exceptions.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/files.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/json.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/logging.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/numbers.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/payloads.py
RENAMED
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/time_utils.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/application/timezone.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/__init__.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/base_enum.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
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/enums/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/enums/common.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/enums/document.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/enums/workspace.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/exceptions.py
RENAMED
|
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.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/helpers/dicts.py
RENAMED
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/helpers/lists.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/domain/helpers/values.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
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/infrastructure/lambdas.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
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/documente_shared/presentation/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/tests/documente_shared/conftest.py
RENAMED
|
File without changes
|
{documente_shared-0.1.185b0 → documente_shared-0.1.185b3}/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
|