Skip to content

fix: correct Optional type annotation for _resolved_dir parameter - #3801

Merged
mnriem merged 1 commit into
github:mainfrom
Quratulain-bilal:fix/type-annotation-resolved-dir
Jul 28, 2026
Merged

fix: correct Optional type annotation for _resolved_dir parameter#3801
mnriem merged 1 commit into
github:mainfrom
Quratulain-bilal:fix/type-annotation-resolved-dir

Conversation

@Quratulain-bilal

Copy link
Copy Markdown
Contributor

Fix _resolved_dir: Path = None to _resolved_dir: Optional[Path] = None in �gents.py:601. Every other nullable parameter in this file correctly uses Optional[...].

Copilot AI 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.

Pull request overview

Corrects the nullable _resolved_dir type annotation.

Changes:

  • Changes Path to Optional[Path] to match its None default.
Show a summary per file
File Description
src/specify_cli/agents.py Corrects _resolved_dir typing.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Medium

@mnriem
mnriem merged commit 86c4610 into github:main Jul 28, 2026
14 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.

3 participants