From b7cb48faa6d04f232b5e7b456a12490860f4162a Mon Sep 17 00:00:00 2001 From: SpicyGarlicAlbacoreRoll Date: Fri, 30 May 2025 10:54:11 -0800 Subject: [PATCH 1/2] fix: omit session from python output --- CHANGELOG.md | 6 ++++++ src/SearchAPI/application/output.py | 1 + 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8894b8..e420ed9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,12 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - --> +------ +## [1.0.2](https://github.com/asfadmin/Discovery-SearchAPI-v3/compare/v1.0.1...v1.0.2) + +### Fixed +- Omit `session` in `python` output + ------ ## [1.0.1](https://github.com/asfadmin/Discovery-SearchAPI-v3/compare/v1.0.0...v1.0.1) diff --git a/src/SearchAPI/application/output.py b/src/SearchAPI/application/output.py index 17ba656..4101991 100644 --- a/src/SearchAPI/application/output.py +++ b/src/SearchAPI/application/output.py @@ -167,6 +167,7 @@ def get_asf_search_script( search_endpoint: Literal['param', 'baseline'] = 'param' ) -> tuple[str, str]: + opts.session = None if search_endpoint == 'param': file_name=make_filename('py', prefix='asf-search-script') output_script = asf_search_script_template.format(file_name, str(opts)) From 040e4f43a43407003059b71c69dc2d4dad345aa1 Mon Sep 17 00:00:00 2001 From: SpicyGarlicAlbacoreRoll Date: Fri, 30 May 2025 12:49:20 -0800 Subject: [PATCH 2/2] feat: asf-search 8.3.4 --- CHANGELOG.md | 3 +++ requirements.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e420ed9..7970932 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,9 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixed - Omit `session` in `python` output +### Changed +- bump asf-search to 8.3.4 for latest `NISAR` collections + ------ ## [1.0.1](https://github.com/asfadmin/Discovery-SearchAPI-v3/compare/v1.0.0...v1.0.1) diff --git a/requirements.txt b/requirements.txt index f2032f6..04db163 100644 --- a/requirements.txt +++ b/requirements.txt @@ -22,7 +22,7 @@ ujson==5.7.0 uvicorn==0.21.1 watchfiles==0.19.0 -asf_search==8.3.3 +asf_search==8.3.4 python-json-logger==2.0.7 pyshp==2.1.3