spydrnet.Library.create_definition

Library.create_definition(name=None, properties=None)[source]

Create a definition, add it to the library, and return the definition

Parameters:
  • name - (str) the name of this instance

  • properties - (dict) the dictionary which holds the properties