Skip to content

[JIRA] Improve typing experience of Jira instanziation#1644

Open
halfow wants to merge 1 commit into
atlassian-api:masterfrom
halfow:master
Open

[JIRA] Improve typing experience of Jira instanziation#1644
halfow wants to merge 1 commit into
atlassian-api:masterfrom
halfow:master

Conversation

@halfow

@halfow halfow commented Jul 24, 2026

Copy link
Copy Markdown

Hi!

Sorry for this out of the blue, just got a bit annoyed when using the Jira API. Made a little patch for my self and thought that the community would like it aswell.

Make Jira() type nicer with inheritance of parent function signature. Works well when just passing through *args **kwargs.

Note: g(f(x)) calling overhead of the decorator should not be noticeable as the Jira object only init once.

Patch provides completion capabilities for more editors:
image

Credits to typing#769 for the pattern.

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.

1 participant