Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ feat(device): accepts feature config in toggle_features #70

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

pallabpain
Copy link
Member

The toggle_features method now accepts additional feature config that allows us to invoke the patch device daemons API with daemon config.

Usage:
    >>> from rapyuta_io import Client
    >>> client = Client(auth_token='auth_token', project='project_guid')
    >>> client.toggle_features('device-id', [('vpn', True), ('tracing', False)], config={'vpn': {'advertise_routes': True}})

The toggle_features method now accepts additional feature config that
allows us to invoke the patch device daemons API with daemon config.

Usage:
    >>> from rapyuta_io import Client
    >>> client = Client(auth_token='auth_token', project='project_guid')
    >>> client.toggle_features('device-id', [('vpn', True), ('tracing', False)], config={'vpn': {'advertise_routes': True}})
@pallabpain pallabpain requested review from a team as code owners November 17, 2023 17:34
@pallabpain pallabpain self-assigned this Nov 17, 2023
@pallabpain pallabpain added the enhancement New feature or request label Nov 17, 2023
@pallabpain pallabpain changed the title feat(device): accepts feature config in toggle_features ✨ feat(device): accepts feature config in toggle_features Nov 28, 2023
@pallabpain pallabpain merged commit a293787 into devel Dec 13, 2023
4 checks passed
rr-github-ci-user pushed a commit that referenced this pull request Dec 13, 2023
# [1.13.0](v1.12.0...v1.13.0) (2023-12-13)

### Features

* **device:** accepts feature config in toggle_features ([#70](#70)) ([a293787](a293787))
@rr-github-ci-user
Copy link

🎉 This PR is included in version 1.13.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants