Skip to content

Instantly share code, notes, and snippets.

@justinchuby
Last active May 27, 2024 01:25
Show Gist options
  • Save justinchuby/f4844a6123a5a56b6333de686a524aa2 to your computer and use it in GitHub Desktop.
Save justinchuby/f4844a6123a5a56b6333de686a524aa2 to your computer and use it in GitHub Desktop.
producer_text
value_name = self.name if self.name is not None else "anonymous:" + str(id(self))
if producer is not None:
producer_text = producer.name if producer.name is not None else "anonymous:" + str(id(producer))
else:
producer_text = "None"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment