-
Notifications
You must be signed in to change notification settings - Fork 432
docs: new parser utility #192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 11 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
4d9b2a9
docs: initial sketch of parser docs
heitorlessa a6477cf
Merge branch 'develop' into docs/parser
heitorlessa 190703b
docs: initial structure for parser docs
heitorlessa f0a8a18
docs: add 101 parsing events content
heitorlessa bf294ee
fix: parse high level import
heitorlessa 96fc444
chore: typo on code generation tool
heitorlessa ba7cd29
docs: use non-hello world model to better exemplify parsing
heitorlessa cb8d6a0
fix: ensures parser can take json strings as input
heitorlessa 0ed746b
docs: add data model validation section
heitorlessa 75dc529
docs: add envelope section
heitorlessa e1eac2d
chore: typo in list
heitorlessa 4b6ecbf
docs: add extending built-in models
heitorlessa d434f48
docs: ensure examples can be copied/pasted as-is
heitorlessa ab1f0d2
Merge branch 'docs/parser' of https://github.com/heitorlessa/aws-lamb…
heitorlessa 4e738e9
improv: export Pydantic ValidationError instead of our own
heitorlessa 6c359d5
fix: remove malformed 3.1. sentence
heitorlessa 9b9f4f1
fix: debug logging in envelopes before each parsing
heitorlessa 2732760
chore: spacing
heitorlessa 5f1ad0a
fix: generic type to match ABC bound class
heitorlessa d2148f2
docs: add a FAQ section
heitorlessa 234afd9
docs: add cold start data
heitorlessa 9e42863
Merge branch 'develop' into docs/parser
heitorlessa 3750d55
improv: address Koudai's PR feedback
heitorlessa ffbde1d
fix: _parse return type
heitorlessa 33fec71
improv: address Koudai's PR feedback on mypy
heitorlessa de53605
docs: reorder extending models as parse fn wasn't introduced
heitorlessa 57681a2
docs: reorder data validation; improve envelopes section
heitorlessa eeabc0f
docs: address Ran's feedback
heitorlessa 592cd56
docs: add a note that decorator will replace the event
heitorlessa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,6 +1,6 @@ | ||
from .base import BaseEnvelope | ||
from .dynamodb import DynamoDBEnvelope | ||
from .dynamodb import DynamoDBStreamEnvelope | ||
from .event_bridge import EventBridgeEnvelope | ||
from .sqs import SqsEnvelope | ||
|
||
__all__ = ["DynamoDBEnvelope", "EventBridgeEnvelope", "SqsEnvelope", "BaseEnvelope"] | ||
__all__ = ["DynamoDBStreamEnvelope", "EventBridgeEnvelope", "SqsEnvelope", "BaseEnvelope"] |
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.