Skip to content

Commit

Permalink
Update graphql_client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas1312 authored Sep 29, 2023
1 parent bdb0b25 commit 9faf7b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kili/core/graphql/graphql_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ def _get_kili_app_version(self) -> Optional[str]:
return response_json["version"]
return None

@classmethod
def _remove_nullable_inputs(cls, variables: Dict) -> Dict:
@staticmethod
def _remove_nullable_inputs(variables: Dict) -> Dict:
"""Remove nullable inputs from the variables."""
return {k: v for k, v in variables.items() if v is not None}

Expand Down

0 comments on commit 9faf7b2

Please sign in to comment.