mirror of
https://github.com/xcat2/confluent.git
synced 2026-06-19 01:50:46 +00:00
Fix dotted field names in stub formatter
The stub formatter was chocking on dotted key names.
This commit is contained in:
@@ -139,6 +139,9 @@ class ExpressionChecker(string.Formatter):
|
||||
raise Exception(f'Format specification {format_spec} exceeds maximum supported length of 8')
|
||||
return '1'
|
||||
|
||||
def get_field(self, field_name, args, kwargs):
|
||||
return field_name, field_name
|
||||
|
||||
def get_value(self, first, args, kwargs):
|
||||
return 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user