You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2025/07/24 02:02:29 UTC

(airavata-portals) branch main updated (95f732044 -> c88a058e9)

This is an automated email from the ASF dual-hosted git repository.

lahirujayathilake pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airavata-portals.git


    from 95f732044 Bump axios from 1.10.0 to 1.11.0 in /airavata-mcp-client-chatbot/widget (#26)
     new 27006437f fixed the attribute error, to align with python 3.10
     new c88a058e9 bump up airavata-python-sdk

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 airavata-django-portal-sdk/requirements.txt              | 2 +-
 airavata-django-portal/django_airavata/apps/api/views.py | 5 ++---
 airavata-django-portal/requirements.txt                  | 2 +-
 3 files changed, 4 insertions(+), 5 deletions(-)


(airavata-portals) 02/02: bump up airavata-python-sdk

Posted by la...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lahirujayathilake pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airavata-portals.git

commit c88a058e9ffdcb4a8e2e7aea4731d4e6f5613441
Author: lahiruj <la...@gmail.com>
AuthorDate: Wed Jul 23 22:02:23 2025 -0400

    bump up airavata-python-sdk
---
 airavata-django-portal-sdk/requirements.txt | 2 +-
 airavata-django-portal/requirements.txt     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/airavata-django-portal-sdk/requirements.txt b/airavata-django-portal-sdk/requirements.txt
index 796cec691..f1575fddf 100644
--- a/airavata-django-portal-sdk/requirements.txt
+++ b/airavata-django-portal-sdk/requirements.txt
@@ -1,4 +1,4 @@
-airavata-python-sdk==2.1.5
+airavata-python-sdk==2.1.7
 bcrypt==3.1.7
 cffi==1.15.1
 cryptography==38.0.4
diff --git a/airavata-django-portal/requirements.txt b/airavata-django-portal/requirements.txt
index fae3e0066..79da3444e 100644
--- a/airavata-django-portal/requirements.txt
+++ b/airavata-django-portal/requirements.txt
@@ -25,7 +25,7 @@ grpcio==1.48.2 ; python_version < "3.7"
 grpcio==1.51.1 ; python_version >= "3.7"
 
 airavata-django-portal-sdk== 1.8.4
-airavata-python-sdk==2.1.6
+airavata-python-sdk==2.1.7
 airavata-django-portal-commons==1.0.0
 
 -e "."


(airavata-portals) 01/02: fixed the attribute error, to align with python 3.10

Posted by la...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lahirujayathilake pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airavata-portals.git

commit 27006437f0d2fb3e86f844908640eab2b029c82c
Author: lahiruj <la...@gmail.com>
AuthorDate: Wed Jul 23 17:03:25 2025 -0400

    fixed the attribute error, to align with python 3.10
---
 airavata-django-portal/django_airavata/apps/api/views.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/airavata-django-portal/django_airavata/apps/api/views.py b/airavata-django-portal/django_airavata/apps/api/views.py
index b5cc24e5d..9130544c7 100644
--- a/airavata-django-portal/django_airavata/apps/api/views.py
+++ b/airavata-django-portal/django_airavata/apps/api/views.py
@@ -306,10 +306,9 @@ class ExperimentSearchViewSet(mixins.ListModelMixin, GenericAPIBackedViewSet):
 
         filters = {}
         for filter_item in self.request.query_params.items():
-            if filter_item[0] in ExperimentSearchFields._NAMES_TO_VALUES:
+            if filter_item[0] in ExperimentSearchFields.__members__:
                 # Lookup enum value for this ExperimentSearchFields
-                search_field = ExperimentSearchFields._NAMES_TO_VALUES[
-                    filter_item[0]]
+                search_field = ExperimentSearchFields[filter_item[0]]
                 filters[search_field] = filter_item[1]
 
         class ExperimentSearchResultIterator(APIResultIterator):