2
0
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:
Jarrod Johnson
2025-05-09 16:39:45 -04:00
parent c892af5a1e
commit a7c338786e
@@ -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