interloper-api 0.70.0__tar.gz → 0.71.0__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.
- {interloper_api-0.70.0 → interloper_api-0.71.0}/PKG-INFO +1 -1
- {interloper_api-0.70.0 → interloper_api-0.71.0}/pyproject.toml +1 -1
- {interloper_api-0.70.0 → interloper_api-0.71.0}/pyproject.toml.orig +1 -1
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/routes/components.py +12 -1
- {interloper_api-0.70.0 → interloper_api-0.71.0}/README.md +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/__init__.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/app.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/dependencies/__init__.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/dependencies/auth.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/dependencies/rbac.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/dependencies/state.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/notifications/__init__.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/notifications/invitations.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/routes/__init__.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/routes/admin.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/routes/agent.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/routes/auth.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/routes/backfills.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/routes/catalog.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/routes/health.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/routes/oauth.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/routes/organisations.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/routes/runs.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/routes/tokens.py +0 -0
- {interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/routes/websocket.py +0 -0
|
@@ -118,7 +118,12 @@ class ComponentUpdateRequest(BaseModel):
|
|
|
118
118
|
|
|
119
119
|
|
|
120
120
|
class ComponentResponse(BaseModel):
|
|
121
|
-
"""Response body for a component of any kind.
|
|
121
|
+
"""Response body for a component of any kind.
|
|
122
|
+
|
|
123
|
+
``auto_renew`` surfaces a connection's renewal toggle even in list
|
|
124
|
+
responses, where a secret kind's ``config`` stays undisclosed — the
|
|
125
|
+
toggle is operational metadata, not a credential.
|
|
126
|
+
"""
|
|
122
127
|
|
|
123
128
|
id: UUID
|
|
124
129
|
org_id: UUID
|
|
@@ -129,6 +134,7 @@ class ComponentResponse(BaseModel):
|
|
|
129
134
|
config: dict[str, Any] | None = None
|
|
130
135
|
state: dict[str, Any] | None = None
|
|
131
136
|
encrypted: bool = False
|
|
137
|
+
auto_renew: bool | None = None
|
|
132
138
|
parent_id: UUID | None = None
|
|
133
139
|
relations: dict[str, list[RelationRef]] = {}
|
|
134
140
|
children: list[ComponentResponse] = []
|
|
@@ -167,6 +173,10 @@ class ComponentResponse(BaseModel):
|
|
|
167
173
|
if KINDS[row.kind].sensitive:
|
|
168
174
|
config = store.components.decode_config(row) if include_config else None
|
|
169
175
|
|
|
176
|
+
auto_renew: bool | None = None
|
|
177
|
+
if row.kind == "connection":
|
|
178
|
+
auto_renew = bool((config or store.components.decode_config(row)).get("auto_renew", True))
|
|
179
|
+
|
|
170
180
|
return cls(
|
|
171
181
|
id=row.id,
|
|
172
182
|
org_id=row.org_id,
|
|
@@ -177,6 +187,7 @@ class ComponentResponse(BaseModel):
|
|
|
177
187
|
config=config,
|
|
178
188
|
state=row.state,
|
|
179
189
|
encrypted=row.encrypted,
|
|
190
|
+
auto_renew=auto_renew,
|
|
180
191
|
parent_id=row.parent_id,
|
|
181
192
|
relations=_relations_of(row),
|
|
182
193
|
children=[
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/notifications/__init__.py
RENAMED
|
File without changes
|
{interloper_api-0.70.0 → interloper_api-0.71.0}/src/interloper_api/notifications/invitations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|