Skip to content

Instantly share code, notes, and snippets.

@fauxneticien
Last active June 21, 2023 22:26
Show Gist options
  • Save fauxneticien/57f81e20060bc2138d758b80e5b08e0e to your computer and use it in GitHub Desktop.
Save fauxneticien/57f81e20060bc2138d758b80e5b08e0e to your computer and use it in GitHub Desktop.
Example class
my_instantiated_object:
_target_: my_classes.my_abstract_class.MyAbstractClass
my_variable: used Hydra YAML!
class MyAbstractClass:
def __init__(self, my_variable):
self.my_variable = my_variable
def print_my_var(self):
print(self.my_variable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment