-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
type: breakingBreaking ChangesBreaking Changestype: featureNew feature or requestNew feature or request
Milestone
Description
Basics
- Add
xsdatato dependencies - _resources dir
- sort elements in
__all__: https://docs.astral.sh/ruff/rules/unsorted-dunder-all/ (ruff check --fix --preview
Code
-
RepositorySummary(4 fields, returned by list endpoint) -
Repository(all fields, returned by get emdpoint) - add mixins for convenience
- deal with
link=Link(href='https://www.re3data.org/api/beta/repository/r3d100011956', rel='self')) - add XML parser
- add
build_response()function - add Response
- add dataclass as
return_typeargument, new default - raise repositorynotfound when status is 404, use repo id in exc message
- use response.request.params to check if endpoint was called and status is 404 -> raise
- print nice error message in cli (try, except not found, print not found msg, exit 1)
- add xsdata config.xml
- overload method
- add dispatch_return_type(response, return_type) function
-
mypypasses - size updated needs to be str as well, not comform to xsd
- problem with
dataverse
Testing
- test 404 in cli
- Add and update tests
Docs
- update docstrings for new functions and classes
- remove all TODOs
- add resources to api reference docs
- update examples in docs (readme, docstrings, ...)
- Add description how to generate resources with xsdata cli, readme.md
- Ignore *.md and *.xml in wheel
- add a point about dataclass bindings in readme under features
- document manual changes to autogenerated resources
Metadata
Metadata
Assignees
Labels
type: breakingBreaking ChangesBreaking Changestype: featureNew feature or requestNew feature or request