We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e010ff0 commit 0ca1b01Copy full SHA for 0ca1b01
designs/serialization.md
@@ -123,10 +123,18 @@ class ShapeSerializer(Protocol):
123
with self.begin_struct(schema=schema) as struct_serializer:
124
struct.serialize_members(struct_serializer)
125
126
- def begin_list(self, schema: "Schema") -> AbstractContextManager["ShapeSerializer"]:
+ def begin_list(
127
+ self,
128
+ schema: "Schema",
129
+ size: int,
130
+ ) -> AbstractContextManager["ShapeSerializer"]:
131
...
132
- def begin_map(self, schema: "Schema") -> AbstractContextManager["MapSerializer"]:
133
+ def begin_map(
134
135
136
137
+ ) -> AbstractContextManager["MapSerializer"]:
138
139
140
def write_null(self, schema: "Schema") -> None:
0 commit comments