spinetoolbox.project_item_specification

Contains project item specification class.

authors:
  1. Marin (KTH)
date:

7.5.2020

Module Contents

Classes

ProjectItemSpecification Class to hold a project item specification.
class spinetoolbox.project_item_specification.ProjectItemSpecification(name, description=None, item_type='', item_category='')[source]

Bases: spinetoolbox.metaobject.MetaObject

Class to hold a project item specification.

item_type

type of the project item the specification is compatible with

Type:str
definition_file_path

specification’s JSON file path

Type:str
Parameters:
  • name (str) – specification name
  • description (str) – description
  • item_type (str) – Project item type
  • item_category (str) – Project item category
__eq__(self, other)[source]

Overrides the default implementation