pydfnWorks
python wrapper for dfnWorks
pydfnworks.general.dfntools.Frozen Class Reference
Inheritance diagram for pydfnworks.general.dfntools.Frozen:
Collaboration diagram for pydfnworks.general.dfntools.Frozen:

Public Member Functions

def __setattr__ (self, key, value)
 

Data Fields

 frozen
 

Static Public Attributes

bool frozen = False
 

Detailed Description

Prevents adding new attributes to classes once _freeze() is called on the class.

Parameters
----------
None

Returns
-------
None

Notes
-----
None

Definition at line 4 of file dfntools.py.

Member Function Documentation

◆ __setattr__()

def pydfnworks.general.dfntools.Frozen.__setattr__ (   self,
  key,
  value 
)
    Set attribute to a value.
    Args:
        key (string): the key of the attribute being set.
        value : the value of the attribute being set. 

Definition at line 23 of file dfntools.py.

References pydfnworks.general.dfntools.Frozen.frozen.

Field Documentation

◆ frozen [1/2]

bool pydfnworks.general.dfntools.Frozen.frozen = False
static

Definition at line 21 of file dfntools.py.

Referenced by pydfnworks.general.dfntools.Frozen.__setattr__().

◆ frozen [2/2]

pydfnworks.general.dfntools.Frozen.frozen

Definition at line 41 of file dfntools.py.

Referenced by pydfnworks.general.dfntools.Frozen.__setattr__().


The documentation for this class was generated from the following file: