Skip to content

Commit

Permalink
Fix check for update
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Nov 11, 2024
1 parent 940032d commit 0b75eac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/langsmith/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5646,8 +5646,7 @@ def push_prompt(
# Create or update prompt metadata
if self._prompt_exists(prompt_identifier):
if any(
param is not None
for param in [parent_commit_hash, is_public, description, readme, tags]
param is not None for param in [is_public, description, readme, tags]
):
self.update_prompt(
prompt_identifier,
Expand Down

0 comments on commit 0b75eac

Please sign in to comment.