Skip to content

Dev#81

Merged
JulianKimmig merged 6 commits into
testfrom
dev
May 6, 2026
Merged

Dev#81
JulianKimmig merged 6 commits into
testfrom
dev

Conversation

@JulianKimmig

Copy link
Copy Markdown
Member

No description provided.

- Created a new CONTRIBUTING.md file to provide instructions for setting up the development environment, running tests, and adhering to code style.
- Included prerequisites, recommended environment variables, and commands for installing dependencies and running tests.
- Outlined expectations for test-driven development and usage of pre-commit hooks.
Document purpose, features, installation, dependencies, and a basic
WSWorker instantiation example.
- Introduced an `autostart` boolean field in the WorkerJson TypedDict to manage worker startup behavior.
- Updated the Worker class to initialize `autostart` to False if not provided in the configuration.
- Enhanced tests to verify the default behavior of the `autostart` field when missing from the configuration.
- Introduced `get_config` method to retrieve the current worker configuration.
- Added `update_worker_config` method to allow updating of worker properties such as name, autostart, and update_on_startup.
- Enhanced tests to validate the functionality of the new configuration methods, ensuring correct updates and retrieval of worker settings.
- Introduced `AutostartPolicy` type and `normalize_autostart_policy` function to manage autostart behavior.
- Updated `WorkerJson` to use `AutostartPolicy` instead of a boolean for the `autostart` field.
- Modified worker initialization and configuration methods to support new autostart policies.
- Updated tests to reflect changes in autostart handling, ensuring correct defaults and migration from boolean values.
@JulianKimmig
JulianKimmig merged commit fe95cfd into test May 6, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant