Is your feature request related to a problem? Please describe.
This is just a nice to have. Useful for debugging the contents of an event or context.
Describe the solution you'd like
Allow passing the arguments for json.dumps in SelfDescribingJson.to_string.
|
def to_string(self) -> str: |
|
return json.dumps(self.to_json()) |
Describe alternatives you've considered
I considered subclassing SelfDescribingJson, but this might be something others find useful.
Additional context
I can start working on a PR if this is something the maintainers are interested in having.
Is your feature request related to a problem? Please describe.
This is just a nice to have. Useful for debugging the contents of an event or context.
Describe the solution you'd like
Allow passing the arguments for
json.dumpsinSelfDescribingJson.to_string.snowplow-python-tracker/snowplow_tracker/self_describing_json.py
Lines 40 to 41 in 67642d2
Describe alternatives you've considered
I considered subclassing
SelfDescribingJson, but this might be something others find useful.Additional context
I can start working on a PR if this is something the maintainers are interested in having.