Releases: zeburek/python-apitist
Releases · zeburek/python-apitist
Add automatic structuring and request name
Add shared session support
v4.1.0 Bump supported attrs version
Change dependencies versions
v4.0.1 Update setup.cfg
Base URL and request decorators
- Support for
base_urlparameter inSession, check out the documentation here - Add request decorators, to improve API client creation using Apitist
- Add
add_hooks()method toSessionobject, where you can pass any number of hooks at once
Add predefined types for random data generation
- Added support to generate random data with use of some basic types
As a backendFakerpackage is used
Example here - Convclasses updated to 2.0.0
Now you can use field modificators to support larger amount of API's - Now you can import popular objects right from
apitistpackage
Added new Response class to support custom functions in it
- Added vr/verify_response function
- Added structure function in order to suggest it properly
- Added data field, in order to correctly suggest it
Added support for dataclasses
Now you could use dataclasses for:
- Structuring/Unstructuring
- Random data generation
- Pre-build requests hooks
Add support for only param when generate random object
Also fix partial data generation - now no empty dicts are returned
Add support to pass randomizer params to hooks
- Ignore, inverse and set_params are passed in random.object
- Use and set_params are passed in random.partial
- Params are passed only if hook function has keywords argument
Fixed using random.partial with custom hooks for attrs classes
Fix release naming
Merge pull request #8 from zeburek/fix-pypi-classifiers Update python classifiers in order to properly work on 3.7, 3.8