Skip to content

Commit

Permalink
Update alchemiscale/interface/client.py
Browse files Browse the repository at this point in the history
@ianmkenney suggestion

Co-authored-by: Ian Kenney <ianmichaelkenney@gmail.com>
  • Loading branch information
dotsdl and ianmkenney authored Nov 11, 2024
1 parent 463169f commit c1b9fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alchemiscale/interface/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def get_scoped_key(self, obj: GufeTokenizable, scope: Scope) -> ScopedKey:
"Scope for a ScopedKey must be specific; it cannot contain wildcards."
)

def check_exists(self, scoped_key: Union[ScopedKey, str]) -> bool:
def check_exists(self, scoped_key: ScopedKey | str) -> bool:
"""Returns ``True`` if the given ScopedKey represents an object in the database."""
return self._get_resource(f"/exists/{scoped_key}")

Expand Down

0 comments on commit c1b9fad

Please sign in to comment.