Core
Base class for entities with unique identifiers for common entities in blue.
Source code in blue/core.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | |
__init__(name=None, id=None, sid=None, cid=None, prefix=None, suffix=None)
Initialize the Entity.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
Name of the entity. |
None
|
|
id
|
Unique identifier for the entity. |
None
|
|
sid
|
Short identifier (combination of name and id). |
None
|
|
cid
|
Canonical identifier (may include prefix and suffix). |
None
|
|
prefix
|
Optional prefix for the cid. |
None
|
|
suffix
|
Optional suffix for the cid. |
None
|
Source code in blue/core.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | |
Last update: 2025-10-08