stream_graph.exceptions.UnrecognizedStreamGraph¶
- 
class 
stream_graph.exceptions.UnrecognizedStreamGraph(variable_name, extra_message='')[source][source]¶ Exception raised when a variable is not an instance of ABC.TemporalStreamGraph.
- Attributes
 - args
 
Methods
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
Initialize invalid ABC.StreamGraph Exception.
- Parameters
 - variable_namestr
 The name of the variable which is not a ABC.StreamGraph.
- extra_messagestr, default=””
 Message to be appended after the end of the exception.
- Attributes
 - args
 
Methods
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- 
__cause__¶ exception cause
- 
__context__¶ exception context
- 
__delattr__(self, name, /)¶ Implement delattr(self, name).
- 
__dir__()¶ default dir() implementation
- 
__eq__(self, value, /)¶ Return self==value.
- 
__format__()¶ default object formatter
- 
__ge__(self, value, /)¶ Return self>=value.
- 
__getattribute__(self, name, /)¶ Return getattr(self, name).
- 
__gt__(self, value, /)¶ Return self>value.
- 
__hash__(self, /)¶ Return hash(self).
- 
__init__(self, variable_name, extra_message='')[source][source]¶ Initialize invalid ABC.StreamGraph Exception.
- Parameters
 - variable_namestr
 The name of the variable which is not a ABC.StreamGraph.
- extra_messagestr, default=””
 Message to be appended after the end of the exception.
- 
__init_subclass__()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- 
__le__(self, value, /)¶ Return self<=value.
- 
__lt__(self, value, /)¶ Return self<value.
- 
__ne__(self, value, /)¶ Return self!=value.
- 
__new__(*args, **kwargs)¶ Create and return a new object. See help(type) for accurate signature.
- 
__reduce_ex__()¶ helper for pickle
- 
__repr__(self, /)¶ Return repr(self).
- 
__setattr__(self, name, value, /)¶ Implement setattr(self, name, value).
- 
__sizeof__()¶ size of object in memory, in bytes
- 
__str__(self, /)¶ Return str(self).
- 
__subclasshook__()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
- 
__weakref__¶ list of weak references to the object (if defined)
- 
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.