Skip to content

feat(contacts): add type for segments in contact creation - #273

Merged
philnash merged 4 commits into
mainfrom
feat/contacts-type
Aug 31, 2026
Merged

feat(contacts): add type for segments in contact creation#273
philnash merged 4 commits into
mainfrom
feat/contacts-type

Conversation

@philnash

@philnash philnash commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Not having the segments or topics property types wouldn't cause runtime failures, but could cause a type checker to have a bad time.


Summary by cubic

Adds missing segments and topics type definitions for contact creation so type checkers validate them correctly, and points ListParams at the new types by their full path.

Written for commit 36f7805. Summary will update on new commits.

Review in cubic

@klotty klotty left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Adds missing type definitions for the segments field in contact creation parameters; purely additive typing change with no runtime impact and no tradeoffs.

Re-trigger cubic

klotty
klotty previously approved these changes Aug 31, 2026

@klotty klotty left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

0 issues found across 1 file (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Adds missing type definitions for segments and topics in contact creation; purely additive typing change with no runtime impact and no tradeoffs.

Re-trigger cubic

@github-actions github-actions Bot added the linear-synced PR has been synced to Linear label Aug 31, 2026

@cubic-dev-ai cubic-dev-ai Bot 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.

All reported issues were addressed across 1 file (changes from recent commits).

Tip: Review your code locally with the cubic CLI to iterate faster.

Re-trigger cubic

Comment thread resend/contacts/_contacts.py Outdated
@cubic-dev-ai
cubic-dev-ai Bot dismissed klotty’s stale review August 31, 2026 14:16

Dismissed because Cubic found issues in a newer review.

@klotty klotty left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

0 issues found across 1 file (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Adds missing type definitions for segments and topics in contact creation by relocating TypedDicts and referencing them in CreateParams; purely additive typing change with no runtime impact.

Re-trigger cubic

@philnash
philnash merged commit 39f35e4 into main Aug 31, 2026
20 checks passed
@philnash
philnash deleted the feat/contacts-type branch August 31, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linear-synced PR has been synced to Linear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants