Skip to content

Releases: zeburek/python-apitist

Add automatic structuring and request name

06 Aug 19:59

Choose a tag to compare

Now, if you pass structure_type or structure_err_type to any request, its response will be structured automatically if it is possible.
structure_err_type can be also passed to session.

Add shared session support

20 Jul 19:33

Choose a tag to compare

v4.1.0

Bump supported attrs version

Change dependencies versions

19 Jul 06:45
d862cd5

Choose a tag to compare

v4.0.1

Update setup.cfg

Base URL and request decorators

18 Jul 19:33

Choose a tag to compare

  • Support for base_url parameter in Session, check out the documentation here
  • Add request decorators, to improve API client creation using Apitist
  • Add add_hooks() method to Session object, where you can pass any number of hooks at once

Add predefined types for random data generation

10 Nov 14:29

Choose a tag to compare

  • Added support to generate random data with use of some basic types
    As a backend Faker package 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 apitist package

Added new Response class to support custom functions in it

05 Sep 15:18

Choose a tag to compare

  • 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

04 Sep 18:20

Choose a tag to compare

Now you could use dataclasses for:

  • Structuring/Unstructuring
  • Random data generation
  • Pre-build requests hooks

Add support for only param when generate random object

14 Jan 12:20

Choose a tag to compare

Also fix partial data generation - now no empty dicts are returned

Add support to pass randomizer params to hooks

19 Dec 18:04
4762744

Choose a tag to compare

  • 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

01 Dec 07:42
59d27b3

Choose a tag to compare

Merge pull request #8 from zeburek/fix-pypi-classifiers

Update python classifiers in order to properly work on 3.7, 3.8