Skip to content
Snippets Groups Projects
Verified Commit 1263dbe6 authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

mark all $.style subfields as optional

because $.style is itself optional and all the subfields are set to
default values.
parent 7ee71d94
Branches
Tags
No related merge requests found
......@@ -18,22 +18,22 @@ class Point(TypedDict):
e: Optional[float]
class MarkerStyle(TypedDict):
shape: str
size: int
shape: Optional[str]
size: Optional[int]
class LineStyle(TypedDict):
marker: MarkerStyle
type: str
width: int
alpha: float
marker: Optional[MarkerStyle]
type: Optional[str]
width: Optional[int]
alpha: Optional[float]
class ErrorStyle(TypedDict):
alpha: float
alpha: Optional[float]
class Style(TypedDict):
color: str
line: LineStyle
error: ErrorStyle
color: Optional[str]
line: Optional[LineStyle]
error: Optional[ErrorStyle]
class Graph(TypedDict):
name: Optional[str]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment