my-aws-helpers 5.3.0__tar.gz → 5.5.0__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.
Potentially problematic release.
This version of my-aws-helpers might be problematic. Click here for more details.
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/PKG-INFO +1 -1
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/bedrock.py +2 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers.egg-info/PKG-INFO +1 -1
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/setup.py +1 -1
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/MANIFEST.in +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/README.md +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/api.py +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/auth.py +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/cognito.py +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/dynamo.py +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/errors.py +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/event.py +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/logging.py +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/prompts/__init__.py +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/prompts/markdown_system_prompt.txt +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/prompts/transactions_headers_prompt.txt +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/prompts/transactions_headers_prompt_v2.txt +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/prompts/transactions_prompt.txt +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/s3.py +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/sfn.py +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers.egg-info/SOURCES.txt +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers.egg-info/dependency_links.txt +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers.egg-info/requires.txt +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers.egg-info/top_level.txt +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers.egg-info/zip-safe +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/setup.cfg +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/tests/test_cognito.py +0 -0
- {my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/tests/test_event.py +0 -0
|
@@ -64,10 +64,12 @@ class OCRResult(BaseS3Object):
|
|
|
64
64
|
|
|
65
65
|
@classmethod
|
|
66
66
|
def from_s3_representation(cls, obj: dict) -> OCRResult:
|
|
67
|
+
obj['token_usage'] = TokenUsage.from_dict(obj.get("token_usage", {})),
|
|
67
68
|
return cls(**obj)
|
|
68
69
|
|
|
69
70
|
def to_s3_representation(self) -> dict:
|
|
70
71
|
obj = copy(vars(self))
|
|
72
|
+
obj['token_usage'] = S3Serialiser.object_serialiser(obj=vars(obj['token_usage']))
|
|
71
73
|
return S3Serialiser.object_serialiser(obj=obj)
|
|
72
74
|
|
|
73
75
|
def get_save_location(self, bucket_name: str) -> S3Location:
|
|
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
|
{my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/prompts/markdown_system_prompt.txt
RENAMED
|
File without changes
|
{my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/prompts/transactions_headers_prompt.txt
RENAMED
|
File without changes
|
|
File without changes
|
{my_aws_helpers-5.3.0 → my_aws_helpers-5.5.0}/my_aws_helpers/prompts/transactions_prompt.txt
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
|