File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/generators/python/presets Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ function buildFieldArgs(
3333 }
3434
3535 if ( constOptions ) {
36- decoratorArgs . push ( `default=${ formatPythonConstValue ( constOptions . originalInput ) } ` ) ;
36+ decoratorArgs . push (
37+ `default=${ formatPythonConstValue ( constOptions . originalInput ) } `
38+ ) ;
3739 decoratorArgs . push ( 'frozen=True' ) ;
3840 } else if ( isOptional ) {
3941 decoratorArgs . push ( 'default=None' ) ;
@@ -47,7 +49,10 @@ function buildFieldArgs(
4749 decoratorArgs . push ( 'exclude=True' ) ;
4850 }
4951
50- if ( property . propertyName !== property . unconstrainedPropertyName && ! isUnwrappedDict ) {
52+ if (
53+ property . propertyName !== property . unconstrainedPropertyName &&
54+ ! isUnwrappedDict
55+ ) {
5156 decoratorArgs . push ( `alias='''${ property . unconstrainedPropertyName } '''` ) ;
5257 }
5358
You can’t perform that action at this time.
0 commit comments