adaptsapi 0.1.8__tar.gz → 0.1.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: adaptsapi
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: CLI to enqueue triggers via internal API Gateway → SNS
5
5
  Home-page: https://github.com/adaptsai/adaptsapi
6
6
  Author: adapts
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "adaptsapi"
7
- version = "0.1.8"
7
+ version = "0.1.9"
8
8
  description = "CLI to enqueue triggers via internal API Gateway → SNS"
9
9
  readme = { file = "README.md", content-type = "text/markdown" }
10
10
 
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="adaptsapi",
5
- version="0.1.8",
5
+ version="0.1.9",
6
6
  author="adapts",
7
7
  author_email="dev@adapts.ai",
8
8
  description="CLI to enqueue triggers via internal API Gateway → SNS",
@@ -99,7 +99,7 @@ def _populate_metadata(payload: Dict[str, Any]) -> None:
99
99
  payload["request_id"] = str(uuid.uuid4())
100
100
  payload["request_type"] = "code_to_wiki"
101
101
  payload["status"] = "pending"
102
- if payload["service_name"] is None or payload["service_name"] == "":
102
+ if not payload.get("service_name"):
103
103
  payload["service_name"] = payload["repo_object"]["repository_name"]
104
104
 
105
105
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: adaptsapi
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: CLI to enqueue triggers via internal API Gateway → SNS
5
5
  Home-page: https://github.com/adaptsai/adaptsapi
6
6
  Author: adapts
File without changes
File without changes
File without changes
File without changes