Lc-sdk-python

Latest version: v0.4.0

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

Scan your dependencies

Page 1 of 4

0.4.0

Added
- New `get_company_details`, `list_customer_bans` and `unban_customer` methods in configuration-api v3.6.
- Added `response_timeout` parameter in `open_connection` methods.
- New `get_license_info` method in agent-api v3.5.
- New `update_session` method in agent-api v3.6 (rtm).
- Allow passing custom header for websocket handshake.

Changed
- Added missing top-level arguments to `update_auto_access` method in configuration-api.
- Updated outdated packages.
- Changed pre-commit flake8 URL

0.3.9

Added
- New methods in configuration-api v3.5, v3.6 for bot management: `create_bot_template`, `delete_bot_template`, `update_bot_template`, `list_bot_templates`, `issue_bot_token`, `reset_bot_secret`, `reset_bot_template_secret`.

Changed
- Updated outdated packages.
- Enhanced error logging for improved troubleshooting: Automatically includes response headers in the log for server errors, providing detailed information (such as x-debug-id) for more effective issue diagnosis.
- Enhanced timeouts for the RTM and WEB clients.
- Introduced `AccessToken` structure which allows keeping token type in separate field. Previous way of passing tokens as a string of format `type: token` remains supported for backwards compatibility.

Bugfixes
- Enabled instantiation for `CustomerRtmV36` within the 3.6 version of the Customer RTM API.
- Adjusted the return types in `get_client` method across RTM and WEB clients.
- Fixed an issue where messages in the WebSocket client were incorrectly shared across all instances.
- Fixed `upload_file` method in agent-api v3.4/v3.5/v3.6 classes.

0.3.8

Added
- Support for `logout` method in agent-api v3.6 web class.
- Support for `agent_id` parameter in agent-api v3.6 `logout` method.

Changed
- Implemented truncation of request params in logging for large data.

Bugfixes
- Allow sending rtm events as a bot by adding `author_id` param.

0.3.7

Added

- `reactivate_email` and `update_company_details` actions in configuration-api v3.6 class.
- `disable_logging` flag for web based clients.

Changed
- [Loguru](https://pypi.org/project/loguru/) used for logging.
- Required packages to currently newest versions.

Bugfixes
- Fix HTTP request type for `get_product_source` method in Configuration API v3.5 and v3.6.
- Fix an issue related to fetching responses in RTM.

0.3.6

Added

- Added support for billing-api.
- New `highest_available` option for `customer_monitoring_level` in agent-api `login` method.

Bugfixes
- Fix `customer_monitoring_level` parameter in `login` method in agent-api v3.3/v3.4/v3.5 classes.
- Fix `httpx` version in setup.cfg

Removed

- Support for `list_customers` method in agent-api v3.6 classes.

0.3.5

Added
- Support for new batch methods in configuration-api v3.5: `batch_create_bots`, `batch_delete_bots`, `batch_update_bots`.
- Support for new version 3.6.

Changed
- Config now points to v3.5 as stable and 3.6 as dev-preview version.

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.