Skip to content

TDT-2789 Clarify event visibility default is Google-only#479

Merged
samLRodrigues merged 2 commits into
mainfrom
fix/event-visibility-google-only
Jul 7, 2026
Merged

TDT-2789 Clarify event visibility default is Google-only#479
samLRodrigues merged 2 commits into
mainfrom
fix/event-visibility-google-only

Conversation

@samLRodrigues

@samLRodrigues samLRodrigues commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

What

Updates the docstring for the Visibility type in nylas/models/events.py to note that default only works for Google events. Microsoft and EWS accounts return a 400 error when default is sent, but the type hint didn't warn about this.

Jira: TDT-2789 (sub-task of TDT-2765)

🤖 Generated with Claude Code

The Visibility type hint allowed 'default' for all providers without
noting that Microsoft and EWS accounts reject it with a 400 error.
Only Google events support 'default'.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

@AaronDDM AaronDDM left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good afternoon! Thanks for tightening this up — the note is accurate and the provider-specific 400 behaviour is worth calling out. One thing before this ships: there's no entry under the Unreleased section in CHANGELOG.md. Please add a short line under Changed (e.g. "Clarify that event default visibility is Google-only") so the doc fix is tracked. Docs themselves look good.

@cursor

cursor Bot commented Jul 7, 2026

Copy link
Copy Markdown

Bugbot is not enabled for this team, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@samLRodrigues samLRodrigues merged commit 025d749 into main Jul 7, 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