We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently cannot set the parameter pretty=false using FileSystemSink endpoints.
In that code path - Pretty is hardcoded
with io.open(file_path, mode='w', encoding=encoding) as f: fp_serialize(stix_obj, f, pretty=True, encoding=encoding, ensure_ascii=False)
cti-python-stix2/stix2/datastore/filesystem.py
Line 588 in 2743b90
Other endpoints support this parameter and it is not clear why it is not supported by FileSystemSink
Hence suggestion is to allow boolean variable for pretty for this endpoint.
The text was updated successfully, but these errors were encountered:
adding pretty to solve oasis-open#561
3df117f
Also linking the relevant discussion on CTI TC Slack for reference:
https://cti-tc.slack.com/archives/C0DR1QMM3/p1667743171800879
Sorry, something went wrong.
No branches or pull requests
Currently cannot set the parameter pretty=false using FileSystemSink endpoints.
In that code path - Pretty is hardcoded
cti-python-stix2/stix2/datastore/filesystem.py
Line 588 in 2743b90
Other endpoints support this parameter and it is not clear why it is not supported by FileSystemSink
Hence suggestion is to allow boolean variable for pretty for this endpoint.
The text was updated successfully, but these errors were encountered: