-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from keithrozario/release
Release
- Loading branch information
Showing
11 changed files
with
334 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,3 +138,6 @@ dmypy.json | |
# Terraform | ||
.terraform/ | ||
*.tfstate | ||
|
||
# serverless | ||
.serverless/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,40 @@ | ||
class LambdaCacheError(Exception): | ||
"""Base class for exceptions in this module.""" | ||
|
||
""" | ||
Base class for exceptions in this module. | ||
""" | ||
|
||
pass | ||
|
||
|
||
class ArgumentTypeNotSupportedError(LambdaCacheError): | ||
"""Raised when Argument is not supported by the function.""" | ||
|
||
""" | ||
Raised when Argument is not supported by the function. | ||
""" | ||
|
||
def __init__(self, message): | ||
self.message = message | ||
self.Code = "ArgumentTypeNotSupportedError" | ||
|
||
|
||
class NoEntryNameError(LambdaCacheError): | ||
"""Raised when No entry_name is provided.""" | ||
|
||
""" | ||
Raised when No entry_name is provided. | ||
""" | ||
|
||
def __init__(self, message=False): | ||
self.message = "No entry_name provided" | ||
self.Code = "NoEntryNameError" | ||
|
||
|
||
class InvalidS3UriError(LambdaCacheError): | ||
|
||
""" | ||
s3Uri provided in invalid format | ||
""" | ||
|
||
def __init__(self, invalid_uri): | ||
self.message = f"Expected Valid s3uri of the form 's3://bucket-name/path/to/file', given: {invalid_uri}" | ||
self.Code = "InvalidS3UriError" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[tool.poetry] | ||
name = "lambda-cache" | ||
version = "0.8.0" | ||
version = "0.8.1" | ||
description = "Python utility for simple caching in AWS Lambda functions" | ||
authors = ["keithrozario <[email protected]>"] | ||
documentation = "https://simple-lambda-cache.readthedocs.io/en/latest/" | ||
repository = "https://github.com/keithrozario/simple_lambda_cache" | ||
homepage = "https://github.com/keithrozario/simple_lambda_cache" | ||
documentation = "https://lambda-cache.readthedocs.io/en/latest/" | ||
repository = "https://github.com/keithrozario/lambda-cache" | ||
homepage = "https://github.com/keithrozario/lambda-cache" | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters