(propName: string, propSchema: JSONSchema7, ctx: PyCodegenCtx)
| 1132 | } |
| 1133 | |
| 1134 | function toPyFieldName(propName: string, propSchema: JSONSchema7, ctx: PyCodegenCtx): string { |
| 1135 | return toSnakeCase(isPyDurationProperty(propSchema, ctx) ? stripDurationMillisecondsSuffix(propName) : propName); |
| 1136 | } |
| 1137 | |
| 1138 | function escapeRegExp(value: string): string { |
| 1139 | return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); |
no test coverage detected
searching dependent graphs…