Skip to content

Add full Rules resource support to Python SDK#468

Merged
pengfeiye merged 3 commits intomainfrom
TT-4430-python-sdk-for-crud-rules-policies-2
Apr 23, 2026
Merged

Add full Rules resource support to Python SDK#468
pengfeiye merged 3 commits intomainfrom
TT-4430-python-sdk-for-crud-rules-policies-2

Conversation

@pengfeiye
Copy link
Copy Markdown
Contributor

License

I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Summary

Implemented a new client.rules namespace in the SDK with full support for the Rules API endpoints: list, create, get, update, delete, and list rule evaluations. Added dedicated models in nylas/models/rules.py, a new resource in nylas/resources/rules.py, and client wiring in nylas/client.py.

Expanded test coverage with new tests/resources/test_rules.py cases for deserialization, endpoint method wiring, query params, and request overrides; also added client property coverage in tests/test_client.py. Verified with focused pytest runs and lint checks, all passing.

@pengfeiye pengfeiye merged commit 1a4267e into main Apr 23, 2026
7 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.

2 participants