Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit bf413c4

Browse files
committed
Remove useless parameter
1 parent 1c7a572 commit bf413c4

File tree

1 file changed

+4
-4
lines changed
  • src/betterproto2_compiler/known_types

1 file changed

+4
-4
lines changed

src/betterproto2_compiler/known_types/struct.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def to_dict(
2424

2525
json = {}
2626
for name, value in self.fields.items():
27-
json[name] = value.to_dict(casing=casing)
27+
json[name] = value.to_dict()
2828
return json
2929

3030

@@ -49,9 +49,9 @@ def to_dict(
4949
case Value(bool_value=bool(bool_value)):
5050
return bool_value
5151
case Value(struct_value=struct_value) if struct_value is not None:
52-
return struct_value.to_dict(casing=casing)
52+
return struct_value.to_dict()
5353
case Value(list_value=list_value) if list_value is not None:
54-
return list_value.to_dict(casing=casing)
54+
return list_value.to_dict()
5555

5656

5757
class ListValue(VanillaListValue):
@@ -67,5 +67,5 @@ def to_dict(
6767

6868
json = []
6969
for value in self.values:
70-
json.append(value.to_dict(casing=casing))
70+
json.append(value.to_dict())
7171
return json

0 commit comments

Comments
 (0)