Basic-api

Latest version: v0.2.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.0

BREAKING CHANGE: Replace `host` and `proto` keyword args with a single `base_url` kwarg.

`base_url` should include the protocol, unless your `adapter` does that for you, which `requests` does not.

Ex:

python
replace
api = BasicAPI('api.example.com')
with
api = BasicAPI('https://api.example.com')
or
api = BasicAPI(host='api.example.com')
with
api = BasicAPI(base_url='https://api.example.com')

0.1.3

Fix example links in readme for non-github sites (pypi, etc)

0.1.2

Main functional change is to attempt merging adapter keyword args.

See https://github.com/gulducat/basic-apioverlapping-kwargs

Also remove `_prepare` method - not really needed, instead just do things in `__init__`.

0.1.1

initial pypi release

0.1.0

🐣
this does nothing for you.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.