Skip to content

Commit 2e9cac9

Browse files
authored
Release v1.5.3
1 parent 0e172e7 commit 2e9cac9

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ default:
44

55
# Install project in development mode
66
install:
7-
uv sync --dev
7+
uv sync --extra dev
88
npm install
99
npm run build
1010
@echo "Development environment ready!"

src/wagov_squ/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import logging
44

5-
__version__ = "1.5.2"
5+
__version__ = "1.5.3"
66

77
# Configure default logging if not already configured
88
if not logging.getLogger().handlers:

src/wagov_squ/legacy.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,13 @@ def _format_alert_field(details: list, field: str, value) -> None:
470470
def _get_customer_info(tenant_id: str, default_status: str, default_orgid: int) -> dict:
471471
"""Get customer information from tenant ID."""
472472
workspaces_df = api.list_workspaces()
473-
customer_records = workspaces_df[workspaces_df["customerId"] == tenant_id].to_dict("records")
474-
customer = customer_records[0] if customer_records else {}
473+
customer = {}
474+
475+
filtered_df = workspaces_df[workspaces_df["customerId"] == tenant_id]
476+
477+
if not filtered_df.empty:
478+
customer_records = filtered_df.to_dict("records")
479+
customer = customer_records[0]
475480

476481
return {
477482
"secops_status": customer.get("SecOps Status", default_status),

tests/test_integration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ def test_jira_api_available(self, jira_client):
183183

184184
print("Jira API methods available")
185185

186-
187186
def test_jira_jql_direct(self, jira_client):
188187
"""Test direct JQL method call."""
189188
# Test direct jql call with date bounds

0 commit comments

Comments
 (0)