Skip to content

Commit 2baf8b6

Browse files
committed
odb: python format
Signed-off-by: Osama <[email protected]>
1 parent d9b0e1e commit 2baf8b6

File tree

1 file changed

+3
-1
lines changed
  • src/odb/src/codeGenerator

1 file changed

+3
-1
lines changed

src/odb/src/codeGenerator/gen.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ def add_field_attributes(field, klass, flags_struct, schema):
129129
field["hashTableType"] = get_hash_table_type(field["type"])
130130
field["isPassByRef"] = is_pass_by_ref(field["type"])
131131
field.setdefault("flags", [])
132-
field["isSetByRef"] = 'set-const-ref' in field['flags'] or is_set_by_ref(field["type"])
132+
field["isSetByRef"] = "set-const-ref" in field["flags"] or is_set_by_ref(
133+
field["type"]
134+
)
133135
if "argument" not in field:
134136
field["argument"] = field["name"].strip("_")
135137
if "private" in field["flags"]:

0 commit comments

Comments
 (0)