- def __init__(
- self,
- address: AddressType = None,
- geoLocation: GeoLocation = None,
- url: str = None,
- position: Hex = None,
- layout: Layout = None,
- spiralRadiusProfile: SpiralRadiusProfile = None,
- parent=None,
- **kwargs
- ):
- super().__init__(**kwargs)
- self.address = address
- self.geoLocation = geoLocation
- self.url = url
- self.position = position
- self.layout = layout
- self.spiralRadiusProfile = (spiralRadiusProfile,)
- self.parent = parent
+ address: AddressType
+ geoLocation: GeoLocation
+ url: str
+ position: Hex
+ layout: Layout
+ spiralRadiusProfile: SpiralRadiusProfile
+ parent: Any
+
+
+default_address: AddressType = {
+ "street": "highstreet",
+ "building": "none",
+ "city": "heaven",
+ "room": "frist",
+ "zip": "12345",
+ "state": "none",
+ "country": Country.Germany,
+}
+default_value: IORanNode = cast(
+ IORanNode,
+ {
+ **ORanObject.default(),
+ **{
+ "address": default_address,
+ "geoLocation": GeoLocation(),
+ "url": "non-url",
+ "position": Hex(0, 0, 0),
+ "layout": Layout(Hexagon.layout_flat, Point(1, 1), Point(0, 0)),
+ "spiralRadiusProfile": SpiralRadiusProfile(),
+ "parent": None,
+ },
+ },
+)