- Notifications
You must be signed in to change notification settings - Fork5.7k
Simplify Handling of Empty Data inTelegramObject.de_json
and Friends#4617
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
17 commits Select commitHold shift + click to select a range
e25e5f0
Get Started on Simplifying `de_json/list`
Bibo-Joshi2c6913a
Merge branch 'master' into de-json-empty-input
Bibo-Joshi04de3ef
Get a Number of Tests passing
Bibo-Joshiae639fb
Get defaults handling tests to run
Bibo-Joshi3fe033d
Use `de_list` instead of `de_list_wo` for required args
Bibo-Joshic5f3bf7
Use `de_json` instead of `de_json_wo` for required args
Bibo-Joshi0a1b976
Fix failing tests
Bibo-Joshi56cbe65
More failures & one Improvement in TO
Bibo-Joshi7c00b03
remove type checking protocol from runtime
Bibo-Joshi9682a90
Merge branch 'master' into de-json-empty-input
Bibo-Joshicddf8c4
Revert "Use `de_json` instead of `de_json_wo` for required args"
Bibo-Joshi4a5a93d
Revert "Use `de_list` instead of `de_list_wo` for required args"
Bibo-Joshi4c9ea41
Use data.get in remaining places
Bibo-Joshie991b93
Rename functions according to review
Bibo-Joshi54b9988
Remove debug code
Bibo-Joshid942921
Merge branch 'master' into de-json-empty-input
Bibo-Joshi05f52fa
Review
Bibo-JoshiFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
1 change: 1 addition & 0 deletions.gitignore
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 |
---|---|---|
@@ -67,6 +67,7 @@ docs/_build/ | ||
# PyBuilder | ||
target/ | ||
.idea/ | ||
.run/ | ||
# Sublime Text 2 | ||
*.sublime* | ||
54 changes: 27 additions & 27 deletionstelegram/_bot.py
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
7 changes: 1 addition & 6 deletionstelegram/_botcommandscope.py
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
49 changes: 12 additions & 37 deletionstelegram/_business.py
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.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
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.