Amieclient

Latest version: v0.6.1

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

Scan your dependencies

0.6.1

AMIE API client bugfixes:
* Send proper StatusCode for ITC packets generated by `reply_with_failure()` (30, thanks LiangGeorge)
* Correct field name error in the `process_packets.py` example (29, thanks davidecarlson)
* Properly handle JSON generation of packets with no timestamp (28, thanks rynge)

0.6.0

AMIE API client bugfixes:
* Add test to ensure that the JSON we get from a packet is the same as the JSON that went into making it (b4f46f1)
* Misc. cosmetic changes to ensure JSON matches:
* Format packet_timestamp before serializing as json (1a7be29)
* serialize expected replies with timeouts (b2246a9)
* Capitalize DATA_TYPE values, to match what server sends (fb965ab)
* Pass through type ID (9fa61a8)
* remove old date attribute (c3bf93d) (fixes 20, thanks jmlowe)
* Add missing UserZip and UserUID fields to NotifyAccountCreate packets (650971f, 74b2910)
* Make some methods that only take a single argument not insist on that argument being passed as a keyword (a947821)

AMIE API client new features:
* Packets now have a [`reply_with_failure()` method](https://xsede.github.io/amieclient/client.html#amieclient.packet.base.Packet.reply_with_failure), which works similarly to the `reply_packet()` method and can be used to generate a packet that informs the server that the transaction the packet belongs to has failed. For more details please see the documentation. (bc6b6df)

0.5.1

AMIE API updates:
- Add support for `packet_timestamp` field in AMIE packets (16)

Usage API updates (thanks to pauldalewilliams for both of these):
- Fix conversion of StorageUsageRecord to dict (15)
- Fix url formatting for clear_failed_records function in usage client (17)

Miscellaneous updates:
- Update python-dateutil dependency for Python > 3.7. Python 3.6 will keep on the older version, to maintain compatibility with the version distributed as part of CentOS 8. (5e0cd68)
- Use setup.py for installing test dependencies (01e5ae2)
- Python 3.9 now supported (91e4495)

CI updates:
- Test against Python 3.9 (485ad05, d60ae11, a333bd7 reverts 3.10.0-rc1 testing)
- change github ci dependency installation method (b7c7fc6)

0.4.0

Changes:
* Fix a bug in parsing the result of a transaction query (9b1932b)
* Correct invalid packet fields in example code (14)
* Update development dependencies to fix an upstream vuln. (e27d633)

0.3.5

Changes:
* Fixes bug that tries to PUT client_json as form-encoded data instead of JSON 12
* Add validation function to packets with ResourceList attributes: make sure ResourceLists only have one element 13

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.