Cogwatch

Latest version: v3.3.1

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

Scan your dependencies

Page 3 of 3

1.1.1

Added

- The `Watcher` class and `watch` decorator now accept a `preload`
argument. If set to True, it will detect and load all cogs on start.
If False, you have to handle your own cog loading. Defaults to False.
***Note:** the preloading happens before the debug mode check for auto-reloads,
so you can use it as your default cog loader in production.*

Changed

- `cogs_path` was not being read in nested path situations.
- Exceptions are no longer completely eaten.

1.1.0

Added

- The `watch()` decorator is now the preferred way to use the utility.
You can still manually instantiate the `Watcher()` and call its `start()`
method, but the decorator does the exact same thing.
- A more thorough example is now available in the *examples/* directory.

Changed

- Updated the Getting Started section to utilize the new `watch()`
decorator.
- The `cogs_path` argument now defaults to *'commands'*.

1.0.0

Initial release!

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.