Skip to content

Commit b7cb48f

Browse files
fix: omit session from python output
1 parent 0a47f0c commit b7cb48f

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
2525
-
2626
2727
-->
28+
------
29+
## [1.0.2](https://github.com/asfadmin/Discovery-SearchAPI-v3/compare/v1.0.1...v1.0.2)
30+
31+
### Fixed
32+
- Omit `session` in `python` output
33+
2834
------
2935
## [1.0.1](https://github.com/asfadmin/Discovery-SearchAPI-v3/compare/v1.0.0...v1.0.1)
3036

src/SearchAPI/application/output.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ def get_asf_search_script(
167167
search_endpoint: Literal['param', 'baseline'] = 'param'
168168
) -> tuple[str, str]:
169169

170+
opts.session = None
170171
if search_endpoint == 'param':
171172
file_name=make_filename('py', prefix='asf-search-script')
172173
output_script = asf_search_script_template.format(file_name, str(opts))

0 commit comments

Comments
 (0)