Skip to content
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

Add support for no content responses #1630

Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e1a4c8e
Add parsable factory type
samwelkanda Apr 7, 2022
bccd985
Update parse node object methods to take factory as parameter
samwelkanda Apr 7, 2022
ec672d9
Add method to get additional data to parsable interface
samwelkanda Apr 7, 2022
7c049bb
Update module imports
samwelkanda Apr 7, 2022
7bc9164
Update error mapping type to use parsablefactory
samwelkanda Apr 7, 2022
71655f9
Update json parse node to take factory as parameter
samwelkanda Apr 7, 2022
8b944c0
Add factory to request adapter implementation
samwelkanda Apr 14, 2022
722c865
Bump abstractions, http, and serialization package versions
samwelkanda Apr 14, 2022
efe695a
Fix linting and format issues
samwelkanda Apr 14, 2022
8fd37d4
Add an entty to changelog
samwelkanda Apr 14, 2022
0816afb
Remove unnecessary get additional data method from parsable inteface
samwelkanda May 24, 2022
02ff3e1
Add support for no content responses
samwelkanda May 24, 2022
05e6e8b
Add support for vendor specific content types
samwelkanda May 25, 2022
42750cf
Simplify field deserializers
samwelkanda May 25, 2022
a5a4d01
Update test fixtures
samwelkanda May 25, 2022
9da3dce
Add support for encoding and decoding special characters in query par…
samwelkanda Jun 21, 2022
ba65992
Request configuration revamp
samwelkanda Jun 21, 2022
ff5c67f
Merge branch 'feature/discriminator-support-python' into feature/no-c…
samwelkanda Jul 15, 2022
0a624d8
Remove unnecessary print statement
samwelkanda Jul 15, 2022
597c137
Add an entry into changelog
samwelkanda Jul 15, 2022
7002f45
Merge branch 'feature/no-content-response-python' into feature/vendor…
samwelkanda Jul 15, 2022
f30e874
Add an entry into changelog
samwelkanda Jul 15, 2022
2597f2e
Merge branch 'feature/vendor-specific-content-types-python' into feat…
samwelkanda Jul 15, 2022
ded67d9
Add changelog entry
samwelkanda Jul 15, 2022
6fa978f
Merge branch 'feature/field-deserializers-simplification-python' into…
samwelkanda Jul 15, 2022
a490962
Fix failing checks
samwelkanda Jul 15, 2022
ed8bf47
Merge pull request #1741 from microsoft/feature/request-config-revamp
samwelkanda Jul 15, 2022
0388c1b
Merge pull request #1632 from microsoft/feature/field-deserializers-s…
samwelkanda Jul 15, 2022
7677cc6
Merge pull request #1631 from microsoft/feature/vendor-specific-conte…
samwelkanda Jul 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unnecessary get additional data method from parsable inteface
  • Loading branch information
samwelkanda committed May 24, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 0816afbb9a9013277550884c650ed60ed40f1a7a
Original file line number Diff line number Diff line change
@@ -12,15 +12,6 @@ class Parsable(ABC):
"""
Defines a serializable model object.
"""
@abstractmethod
def get_additional_data(self) -> Dict[str, Any]:
"""Gets the additional data for this object that did not belong to the properties

Returns:
Dict[str, Any]: The additional data for this object
"""
pass

@abstractmethod
def get_field_deserializers(self) -> Dict[str, Callable[[T, 'ParseNode'], None]]:
"""Gets the deserialization information for this object.