Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 12, 2024
1 parent 9ba7d1c commit 9676eb1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,10 @@ def __init__(
@property
def _fields_cache_raw(self) -> dict:
"""Cached raw dictionary of of fields. Lazy loaded."""
if not hasattr(self, '_fields_cache_value_raw') or not self._fields_cache_value_raw:
if (
not hasattr(self, "_fields_cache_value_raw")
or not self._fields_cache_value_raw
):
self._fields_cache_value_raw = self.fields()
return self._fields_cache_value_raw

Expand Down

0 comments on commit 9676eb1

Please sign in to comment.