interloper-api 0.125.0__tar.gz → 0.127.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.125.0 → interloper_api-0.127.0}/PKG-INFO +1 -1
- {interloper_api-0.125.0 → interloper_api-0.127.0}/pyproject.toml +1 -1
- {interloper_api-0.125.0 → interloper_api-0.127.0}/pyproject.toml.orig +1 -1
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/overview.py +11 -11
- {interloper_api-0.125.0 → interloper_api-0.127.0}/README.md +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/__init__.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/app.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/authorization.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/cli.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/dependencies/__init__.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/dependencies/auth.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/dependencies/rbac.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/dependencies/state.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/login.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/notifications/__init__.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/notifications/base.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/notifications/invitations.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/notifications/super_admins.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/__init__.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/admin.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/agent.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/apps.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/auth.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/authorization.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/backfills.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/catalog.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/components.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/executions.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/health.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/oauth.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/organisations.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/relations.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/runs.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/tokens.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/websocket.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/server.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/utils/__init__.py +0 -0
- {interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/utils/time.py +0 -0
|
@@ -158,11 +158,11 @@ class OverviewResponse(BaseModel):
|
|
|
158
158
|
class CoverageSource(BaseModel):
|
|
159
159
|
"""A calendar group, a source with its assets or a standalone asset, with its days.
|
|
160
160
|
|
|
161
|
-
The arrays run from :attr:`start` to the group's last
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
161
|
+
The arrays run from :attr:`start` to the group's last day in the window
|
|
162
|
+
with partitions: index ``i`` is the day ``start + i``, and a day inside
|
|
163
|
+
that run without any is a zero in every array. A day's partitions are its
|
|
164
|
+
``successful``, ``failed`` and ``missing`` ones; ``missed`` counts the
|
|
165
|
+
snapshot periods that ended without a success, which are not among them.
|
|
166
166
|
"""
|
|
167
167
|
|
|
168
168
|
id: UUID
|
|
@@ -170,14 +170,14 @@ class CoverageSource(BaseModel):
|
|
|
170
170
|
name: str
|
|
171
171
|
kind: Literal["source", "asset"]
|
|
172
172
|
start: dt.date
|
|
173
|
-
|
|
174
|
-
covered: list[int]
|
|
173
|
+
successful: list[int]
|
|
175
174
|
failed: list[int]
|
|
175
|
+
missing: list[int]
|
|
176
176
|
missed: list[int]
|
|
177
177
|
failed_run_ids: dict[int, UUID]
|
|
178
178
|
|
|
179
179
|
@classmethod
|
|
180
|
-
def from_group(cls, group: insights.
|
|
180
|
+
def from_group(cls, group: insights.GroupCoverage) -> CoverageSource:
|
|
181
181
|
"""Name a calendar group after its row, with its definition key, and attach its days.
|
|
182
182
|
|
|
183
183
|
Args:
|
|
@@ -193,9 +193,9 @@ class CoverageSource(BaseModel):
|
|
|
193
193
|
name=component.name or component.key,
|
|
194
194
|
kind="source" if component.kind == "source" else "asset",
|
|
195
195
|
start=days.start,
|
|
196
|
-
|
|
197
|
-
covered=days.covered,
|
|
196
|
+
successful=days.successful,
|
|
198
197
|
failed=days.failed,
|
|
198
|
+
missing=days.missing,
|
|
199
199
|
missed=days.missed,
|
|
200
200
|
failed_run_ids=days.failed_run_ids,
|
|
201
201
|
)
|
|
@@ -271,7 +271,7 @@ def get_coverage(
|
|
|
271
271
|
since: First day of the window.
|
|
272
272
|
until: Last day of the window, inclusive.
|
|
273
273
|
now: Reference instant, which decides which periods have closed and
|
|
274
|
-
how much of today
|
|
274
|
+
how much of today counts. A test seam: tests pin it; clients omit it.
|
|
275
275
|
|
|
276
276
|
Returns:
|
|
277
277
|
The coverage calendar's data.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/dependencies/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/notifications/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/notifications/invitations.py
RENAMED
|
File without changes
|
{interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/notifications/super_admins.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/authorization.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{interloper_api-0.125.0 → interloper_api-0.127.0}/src/interloper_api/routes/organisations.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
|