-
-
Notifications
You must be signed in to change notification settings - Fork 873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client: Cache raw field information #1798
base: main
Are you sure you want to change the base?
Conversation
There doesn't seem to be a way for me apply the label after submitting the PR, but this would fall under 'enhancement'. |
The py38 failure seems to be unrelated to the change here. |
In order to avoid calling /field more than once per session, override the field() call. This is related to (and arguably obviates): pycontribs/jira#1798
Have you considered the possibility for using a (as you say the cloud test failings are unrelated, so no need to worry) |
The field JSON from the JIRA server contains important information, such as schemas, which can be used by applications building on this library. Since it's generally preferred, whenever possible, to reduce unnecessary calls to JIRA API endpoints, we can keep this information in the client object.
for more information, see https://pre-commit.ci
It would be possible to do that. The rate of change of the information in Presently, the value in If we do decide use |
The field JSON from the JIRA server contains important information, such as schemas, which can be used by applications building on this library. Since it's generally preferred, whenever possible, to reduce unnecessary calls to JIRA API endpoints, we can keep this information in the client object.