File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -442,7 +442,7 @@ def type_loader(
442
442
init = "new MapLoader<{}>({}, {}, {})" .format (
443
443
i .instance_type ,
444
444
i .name ,
445
- f"'{ container } '" if container is not None else None , # noqa: B907
445
+ f"'{ container } '" if container is not None else self . to_dotnet ( None ) , # noqa: B907
446
446
self .to_dotnet (no_link_check ),
447
447
),
448
448
)
@@ -459,7 +459,7 @@ def type_loader(
459
459
name = self .safe_name (type_declaration ["name" ]) + "Loader" ,
460
460
init = "new RecordLoader<{}>({}, {})" .format (
461
461
self .safe_name (type_declaration ["name" ]),
462
- f"'{ container } '" if container is not None else None , # noqa: B907
462
+ f"'{ container } '" if container is not None else self . to_dotnet ( None ) , # noqa: B907
463
463
self .to_dotnet (no_link_check ),
464
464
),
465
465
loader_type = "ILoader<{}>" .format (self .safe_name (type_declaration ["name" ])),
You can’t perform that action at this time.
0 commit comments