File: nested_array.json.snapshot

package info (click to toggle)
python-datamodel-code-generator 0.45.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,052 kB
  • sloc: python: 29,621; makefile: 15
file content (8 lines) | stat: -rw-r--r-- 217 bytes parent folder | download
1
2
3
4
5
6
7
8
class BoundingBox(BaseModel):
    type: str
    coordinates: List[List[List[Union[float, str]]]]


class Model(BaseModel):
    bounding_box: Optional[BoundingBox] = None
    attributes: Optional[Dict[str, Any]] = None