dragonfly-schema 1.12.2__py2.py3-none-any.whl → 1.12.3__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
dragonfly_schema/roof.py CHANGED
@@ -1,6 +1,5 @@
1
1
  """Geometry for specifying sloped roofs over a Story."""
2
- from pydantic import Field, constr
3
- from typing import List
2
+ from pydantic import Field, constr, conlist
4
3
 
5
4
  from honeybee_schema._base import NoExtraBaseModel
6
5
  from honeybee_schema.model import Face3D
@@ -11,7 +10,7 @@ class RoofSpecification(NoExtraBaseModel):
11
10
 
12
11
  type: constr(regex='^RoofSpecification$') = 'RoofSpecification'
13
12
 
14
- geometry: List[Face3D] = Field(
13
+ geometry: conlist(Face3D, min_items=1) = Field(
15
14
  ...,
16
15
  description='An array of Face3D objects representing the geometry of the '
17
16
  'Roof. None of these geometries should overlap in plan and, together, these '
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dragonfly-schema
3
- Version: 1.12.2
3
+ Version: 1.12.3
4
4
  Summary: Dragonfly Data-Model Objects
5
5
  Home-page: https://github.com/ladybug-tools/dragonfly-schema
6
6
  Author: Ladybug Tools
@@ -1,6 +1,6 @@
1
1
  dragonfly_schema/__init__.py,sha256=Cp-YAOlfQuotiRooL-u9oPbSK_C4xBDYQUhlA67qxyI,36
2
2
  dragonfly_schema/model.py,sha256=P1onSWHczRxbTNcna-a5CtrB2DTMu1mun0lhgAeKJ8M,15896
3
- dragonfly_schema/roof.py,sha256=hES6EXVl3utiKVhMnRSIGjnH4wCaa840PWjdd1YffkY,745
3
+ dragonfly_schema/roof.py,sha256=A4cYdKrx01lqlBrPzAOwAO4jtEh9JdD46tB9wSW2p6w,746
4
4
  dragonfly_schema/shading_parameter.py,sha256=WI9XPX3eVXhIutvE_AD1ozJ4QxH85E3Frv9SKsIzCl8,3121
5
5
  dragonfly_schema/skylight_parameter.py,sha256=4uxsAHHEbpfZYndIw2KcQ9AJXU7AJcRZWo7up65vC2c,3137
6
6
  dragonfly_schema/window_parameter.py,sha256=nC1Q1E82sNjPLcsHOwZ0xh011NylLotmkCX12AFc_74,10871
@@ -9,8 +9,8 @@ dragonfly_schema/energy/properties.py,sha256=x7wJqW9kPVMapa9lhIhsmMe_9IDYSWjN-H7
9
9
  dragonfly_schema/radiance/__init__.py,sha256=ok8w16ru1XXBUVjdghvNvwwXGPVSKKpHU-nmj4mf3IU,57
10
10
  dragonfly_schema/radiance/gridpar.py,sha256=ZQTnEdN1vmSsa2QMxfUdebg3cMnu6VvfcluiP11xHOs,4809
11
11
  dragonfly_schema/radiance/properties.py,sha256=Q_O_7fJohdtv5uwHTCZp1W67LoNUaZ45GB6GK7zKK4Y,3405
12
- dragonfly_schema-1.12.2.dist-info/LICENSE,sha256=XfAFIvGuzrC7DEE82mZyAJX4l2ND-i7fICCCMiXBDZw,1070
13
- dragonfly_schema-1.12.2.dist-info/METADATA,sha256=WZ16q3vG61g8udXmE6cs1mDnCoDpOsAncM7CQysZnPo,1946
14
- dragonfly_schema-1.12.2.dist-info/WHEEL,sha256=unfA4MOaH0icIyIA5oH6E2sn2Hq5zKtLlHsWapZGwes,110
15
- dragonfly_schema-1.12.2.dist-info/top_level.txt,sha256=FOvFqYP_bZgcwNtIIgvUZjC-LuQGBEms5zW4nkiclZ0,17
16
- dragonfly_schema-1.12.2.dist-info/RECORD,,
12
+ dragonfly_schema-1.12.3.dist-info/LICENSE,sha256=XfAFIvGuzrC7DEE82mZyAJX4l2ND-i7fICCCMiXBDZw,1070
13
+ dragonfly_schema-1.12.3.dist-info/METADATA,sha256=fQcsCbHdtu6kbWHq3IZS9gtGx72aah5m66_mtgkcYDU,1946
14
+ dragonfly_schema-1.12.3.dist-info/WHEEL,sha256=unfA4MOaH0icIyIA5oH6E2sn2Hq5zKtLlHsWapZGwes,110
15
+ dragonfly_schema-1.12.3.dist-info/top_level.txt,sha256=FOvFqYP_bZgcwNtIIgvUZjC-LuQGBEms5zW4nkiclZ0,17
16
+ dragonfly_schema-1.12.3.dist-info/RECORD,,