orchetto 0.1.0__py3-none-any.whl
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.
- orchetto/__init__.py +33 -0
- orchetto/__main__.py +5 -0
- orchetto/api.py +404 -0
- orchetto/assets/orchetto.png +0 -0
- orchetto/cli.py +1319 -0
- orchetto/console/__init__.py +15 -0
- orchetto/console/renderer.py +223 -0
- orchetto/errors.py +48 -0
- orchetto/executors/__init__.py +35 -0
- orchetto/executors/_streaming.py +65 -0
- orchetto/executors/base.py +109 -0
- orchetto/executors/bash.py +330 -0
- orchetto/executors/notebook.py +316 -0
- orchetto/executors/python_step.py +210 -0
- orchetto/executors/renders.py +211 -0
- orchetto/executors/sql.py +595 -0
- orchetto/graph/__init__.py +35 -0
- orchetto/graph/builder.py +206 -0
- orchetto/graph/selection.py +102 -0
- orchetto/graph/topo.py +115 -0
- orchetto/inspect/__init__.py +31 -0
- orchetto/inspect/diff.py +402 -0
- orchetto/inspect/graph_views.py +248 -0
- orchetto/loader.py +121 -0
- orchetto/migration/__init__.py +8 -0
- orchetto/migration/ploomber/__init__.py +145 -0
- orchetto/migration/ploomber/emit.py +390 -0
- orchetto/migration/ploomber/map.py +473 -0
- orchetto/migration/ploomber/model.py +210 -0
- orchetto/migration/ploomber/parse.py +446 -0
- orchetto/model/__init__.py +36 -0
- orchetto/model/artefact.py +43 -0
- orchetto/model/defs.py +291 -0
- orchetto/model/run.py +60 -0
- orchetto/model/validation.py +58 -0
- orchetto/py.typed +0 -0
- orchetto/runtime/__init__.py +90 -0
- orchetto/runtime/cache.py +445 -0
- orchetto/runtime/context.py +312 -0
- orchetto/runtime/engine.py +828 -0
- orchetto/runtime/env.py +70 -0
- orchetto/runtime/params.py +161 -0
- orchetto/runtime/planner.py +342 -0
- orchetto/runtime_api/__init__.py +26 -0
- orchetto/runtime_api/api.py +410 -0
- orchetto/storage/__init__.py +81 -0
- orchetto/storage/artefacts.py +291 -0
- orchetto/storage/events.py +72 -0
- orchetto/storage/indexes.py +169 -0
- orchetto/storage/locking.py +66 -0
- orchetto/storage/paths.py +274 -0
- orchetto/storage/runs.py +174 -0
- orchetto/validation/__init__.py +66 -0
- orchetto/validation/builtins.py +449 -0
- orchetto/validation/core.py +260 -0
- orchetto-0.1.0.dist-info/METADATA +275 -0
- orchetto-0.1.0.dist-info/RECORD +60 -0
- orchetto-0.1.0.dist-info/WHEEL +4 -0
- orchetto-0.1.0.dist-info/entry_points.txt +2 -0
- orchetto-0.1.0.dist-info/licenses/LICENSE +21 -0
orchetto/__init__.py
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"""orchetto: a local-first notebook-native pipeline runner."""
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import PackageNotFoundError
|
|
4
|
+
from importlib.metadata import version as _package_version
|
|
5
|
+
|
|
6
|
+
from orchetto.api import (
|
|
7
|
+
ParamDef,
|
|
8
|
+
Pipeline,
|
|
9
|
+
asset,
|
|
10
|
+
bash,
|
|
11
|
+
external,
|
|
12
|
+
notebook,
|
|
13
|
+
param,
|
|
14
|
+
python_step,
|
|
15
|
+
sql,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
try:
|
|
19
|
+
__version__ = _package_version("orchetto")
|
|
20
|
+
except PackageNotFoundError: # pragma: no cover - bare checkout without install
|
|
21
|
+
__version__ = "0.0.0.dev0"
|
|
22
|
+
|
|
23
|
+
__all__ = [
|
|
24
|
+
"ParamDef",
|
|
25
|
+
"Pipeline",
|
|
26
|
+
"asset",
|
|
27
|
+
"bash",
|
|
28
|
+
"external",
|
|
29
|
+
"notebook",
|
|
30
|
+
"param",
|
|
31
|
+
"python_step",
|
|
32
|
+
"sql",
|
|
33
|
+
]
|
orchetto/__main__.py
ADDED
orchetto/api.py
ADDED
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
"""Public code-first API for building orchetto pipelines.
|
|
2
|
+
|
|
3
|
+
This module provides thin constructor functions that normalize user input into
|
|
4
|
+
the frozen domain models defined in :mod:`orchetto.model.defs`.
|
|
5
|
+
|
|
6
|
+
Design rules (per ADR):
|
|
7
|
+
|
|
8
|
+
* Constructors normalize user input into domain models.
|
|
9
|
+
* ``inputs``/``outputs`` resolve to asset names internally.
|
|
10
|
+
* No graph logic here – validation happens in dedicated modules.
|
|
11
|
+
|
|
12
|
+
Typical usage::
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
from orchetto import Pipeline, asset, external, notebook, python_step, bash
|
|
16
|
+
|
|
17
|
+
pipeline = Pipeline(
|
|
18
|
+
name="demo",
|
|
19
|
+
external_assets=[external("raw.data", uri="data/raw.parquet")],
|
|
20
|
+
steps=[
|
|
21
|
+
python_step("clean", source="clean.py",
|
|
22
|
+
inputs={"raw": "raw.data"},
|
|
23
|
+
outputs={"cleaned": "data.cleaned"}),
|
|
24
|
+
bash("publish", command="cp ...",
|
|
25
|
+
inputs={"in": "data.cleaned"},
|
|
26
|
+
outputs={"out": "data.published"}),
|
|
27
|
+
],
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
from __future__ import annotations
|
|
33
|
+
|
|
34
|
+
import builtins
|
|
35
|
+
from dataclasses import dataclass
|
|
36
|
+
from typing import Any
|
|
37
|
+
|
|
38
|
+
from orchetto.model.defs import (
|
|
39
|
+
STEP_BASH,
|
|
40
|
+
STEP_NOTEBOOK,
|
|
41
|
+
STEP_PYTHON,
|
|
42
|
+
STEP_SQL,
|
|
43
|
+
AssetDef,
|
|
44
|
+
ExternalAssetDef,
|
|
45
|
+
PipelineDef,
|
|
46
|
+
StepDef,
|
|
47
|
+
)
|
|
48
|
+
from orchetto.model.validation import Validator
|
|
49
|
+
|
|
50
|
+
__all__ = [
|
|
51
|
+
"ParamDef",
|
|
52
|
+
"Pipeline",
|
|
53
|
+
"asset",
|
|
54
|
+
"bash",
|
|
55
|
+
"external",
|
|
56
|
+
"notebook",
|
|
57
|
+
"param",
|
|
58
|
+
"python_step",
|
|
59
|
+
"sql",
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
# ---------------------------------------------------------------------------
|
|
64
|
+
# Param helpers
|
|
65
|
+
# ---------------------------------------------------------------------------
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
@dataclass(frozen=True)
|
|
69
|
+
class ParamDef:
|
|
70
|
+
"""Typed parameter declaration for a step.
|
|
71
|
+
|
|
72
|
+
Attributes:
|
|
73
|
+
type: Expected value type – ``"string"``, ``"int"``, ``"float"``, ``"bool"``.
|
|
74
|
+
default: Default value used when the parameter is not supplied at run time.
|
|
75
|
+
description: Human-readable description of the parameter.
|
|
76
|
+
"""
|
|
77
|
+
|
|
78
|
+
type: str
|
|
79
|
+
default: Any = None
|
|
80
|
+
description: str = ""
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
class _ParamFactory:
|
|
84
|
+
"""Namespace providing typed ``ParamDef`` constructors.
|
|
85
|
+
|
|
86
|
+
Accessed via the module-level :data:`param` singleton::
|
|
87
|
+
|
|
88
|
+
from orchetto import param
|
|
89
|
+
p = param.int(default=10, description="Batch size")
|
|
90
|
+
"""
|
|
91
|
+
|
|
92
|
+
@staticmethod
|
|
93
|
+
def string(default: Any = None, description: str = "") -> ParamDef:
|
|
94
|
+
return ParamDef(type="string", default=default, description=description)
|
|
95
|
+
|
|
96
|
+
@staticmethod
|
|
97
|
+
def int(default: builtins.int | None = None, description: str = "") -> ParamDef:
|
|
98
|
+
return ParamDef(type="int", default=default, description=description)
|
|
99
|
+
|
|
100
|
+
@staticmethod
|
|
101
|
+
def float(default: builtins.float | None = None, description: str = "") -> ParamDef:
|
|
102
|
+
return ParamDef(type="float", default=default, description=description)
|
|
103
|
+
|
|
104
|
+
@staticmethod
|
|
105
|
+
def bool(default: builtins.bool | None = None, description: str = "") -> ParamDef:
|
|
106
|
+
return ParamDef(type="bool", default=default, description=description)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
param = _ParamFactory()
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
# ---------------------------------------------------------------------------
|
|
113
|
+
# Internal normalization helpers
|
|
114
|
+
# ---------------------------------------------------------------------------
|
|
115
|
+
|
|
116
|
+
_AnyAsset = str | AssetDef | ExternalAssetDef
|
|
117
|
+
_Ports = _AnyAsset | dict[str, _AnyAsset] | list[_AnyAsset] | tuple[_AnyAsset, ...] | None
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
def _resolve_asset_name(value: _AnyAsset) -> str:
|
|
121
|
+
"""Resolve a value to an asset name string."""
|
|
122
|
+
if isinstance(value, str):
|
|
123
|
+
return value
|
|
124
|
+
if isinstance(value, (AssetDef, ExternalAssetDef)):
|
|
125
|
+
return value.name
|
|
126
|
+
raise TypeError(f"Expected str, AssetDef, or ExternalAssetDef, got {type(value).__name__}")
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
def _normalize_ports(
|
|
130
|
+
ports: _Ports,
|
|
131
|
+
) -> dict[str, str]:
|
|
132
|
+
"""Normalize various input/output forms into a ``{port: asset_name}`` dict.
|
|
133
|
+
|
|
134
|
+
Accepted forms:
|
|
135
|
+
- ``None`` → empty dict
|
|
136
|
+
- ``str`` / ``AssetDef`` / ``ExternalAssetDef`` → ``{name: name}``
|
|
137
|
+
- ``dict[port, name_or_asset]`` → ``{port: name}``
|
|
138
|
+
- ``list[str | AssetDef]`` / ``tuple[...]`` → ``{name: name}`` for each
|
|
139
|
+
"""
|
|
140
|
+
if ports is None:
|
|
141
|
+
return {}
|
|
142
|
+
if isinstance(ports, (str, AssetDef, ExternalAssetDef)):
|
|
143
|
+
name = _resolve_asset_name(ports)
|
|
144
|
+
return {name: name}
|
|
145
|
+
if isinstance(ports, dict):
|
|
146
|
+
return {str(port): _resolve_asset_name(name) for port, name in ports.items()}
|
|
147
|
+
if isinstance(ports, (list, tuple)):
|
|
148
|
+
result: dict[str, str] = {}
|
|
149
|
+
for item in ports:
|
|
150
|
+
name = _resolve_asset_name(item)
|
|
151
|
+
result[name] = name
|
|
152
|
+
return result
|
|
153
|
+
raise TypeError(
|
|
154
|
+
f"inputs/outputs must be str, AssetDef, ExternalAssetDef, dict, list, or tuple, "
|
|
155
|
+
f"got {type(ports).__name__}"
|
|
156
|
+
)
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
def _normalize_validators(
|
|
160
|
+
validators: dict[str, Any] | None,
|
|
161
|
+
) -> dict[str, tuple[Validator, ...]]:
|
|
162
|
+
"""Normalize a validators mapping to ``{port: tuple[Validator, ...]}``."""
|
|
163
|
+
if not validators:
|
|
164
|
+
return {}
|
|
165
|
+
return {
|
|
166
|
+
port: tuple(vals) if not isinstance(vals, tuple) else vals
|
|
167
|
+
for port, vals in validators.items()
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
# ---------------------------------------------------------------------------
|
|
172
|
+
# Asset constructors
|
|
173
|
+
# ---------------------------------------------------------------------------
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
def asset(
|
|
177
|
+
name: str,
|
|
178
|
+
*,
|
|
179
|
+
kind: str = "data",
|
|
180
|
+
format: str | None = None,
|
|
181
|
+
path_template: str | None = None,
|
|
182
|
+
metadata: dict[str, Any] | None = None,
|
|
183
|
+
) -> AssetDef:
|
|
184
|
+
"""Declare a logical asset produced by a step.
|
|
185
|
+
|
|
186
|
+
Returns:
|
|
187
|
+
A frozen :class:`~orchetto.model.defs.AssetDef`.
|
|
188
|
+
"""
|
|
189
|
+
return AssetDef(
|
|
190
|
+
name=name,
|
|
191
|
+
kind=kind,
|
|
192
|
+
format=format,
|
|
193
|
+
path_template=path_template,
|
|
194
|
+
metadata=metadata or {},
|
|
195
|
+
)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
def external(
|
|
199
|
+
name: str,
|
|
200
|
+
uri: str,
|
|
201
|
+
*,
|
|
202
|
+
kind: str = "external",
|
|
203
|
+
format: str | None = None,
|
|
204
|
+
metadata: dict[str, Any] | None = None,
|
|
205
|
+
validators: list[Validator] | tuple[Validator, ...] | None = None,
|
|
206
|
+
) -> ExternalAssetDef:
|
|
207
|
+
"""Declare an external asset that the pipeline does not build.
|
|
208
|
+
|
|
209
|
+
Returns:
|
|
210
|
+
A frozen :class:`~orchetto.model.defs.ExternalAssetDef`.
|
|
211
|
+
"""
|
|
212
|
+
return ExternalAssetDef(
|
|
213
|
+
name=name,
|
|
214
|
+
uri=uri,
|
|
215
|
+
kind=kind,
|
|
216
|
+
format=format,
|
|
217
|
+
metadata=metadata or {},
|
|
218
|
+
validators=tuple(validators) if validators else (),
|
|
219
|
+
)
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
# ---------------------------------------------------------------------------
|
|
223
|
+
# Step constructors
|
|
224
|
+
# ---------------------------------------------------------------------------
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
def notebook(
|
|
228
|
+
name: str,
|
|
229
|
+
source: str,
|
|
230
|
+
*,
|
|
231
|
+
inputs: _Ports = None,
|
|
232
|
+
outputs: _Ports = None,
|
|
233
|
+
params: dict[str, Any] | None = None,
|
|
234
|
+
validators: dict[str, Any] | None = None,
|
|
235
|
+
renders: list[str] | tuple[str, ...] | None = None,
|
|
236
|
+
tags: list[str] | tuple[str, ...] | None = None,
|
|
237
|
+
) -> StepDef:
|
|
238
|
+
"""Declare a notebook step.
|
|
239
|
+
|
|
240
|
+
Notebook sources can be ``.ipynb`` files (read via nbformat) or
|
|
241
|
+
Jupytext text formats (``.py``, ``.md``, ``.Rmd``, ``.R``, ``.jl``,
|
|
242
|
+
``.qmd``) which are converted to notebook form at execution time.
|
|
243
|
+
The ``kind="notebook"`` declaration disambiguates intent — no magic
|
|
244
|
+
detection based on file content.
|
|
245
|
+
|
|
246
|
+
Args:
|
|
247
|
+
name: Unique step name.
|
|
248
|
+
source: Path to the notebook source file (``.ipynb`` or a
|
|
249
|
+
Jupytext text format).
|
|
250
|
+
|
|
251
|
+
Returns:
|
|
252
|
+
A frozen :class:`~orchetto.model.defs.StepDef` with ``kind="notebook"``.
|
|
253
|
+
"""
|
|
254
|
+
return StepDef(
|
|
255
|
+
name=name,
|
|
256
|
+
kind=STEP_NOTEBOOK,
|
|
257
|
+
source=source,
|
|
258
|
+
inputs=_normalize_ports(inputs),
|
|
259
|
+
outputs=_normalize_ports(outputs),
|
|
260
|
+
params=params or {},
|
|
261
|
+
validators=_normalize_validators(validators),
|
|
262
|
+
renders=tuple(renders) if renders else (),
|
|
263
|
+
tags=tuple(tags) if tags else (),
|
|
264
|
+
)
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
def python_step(
|
|
268
|
+
name: str,
|
|
269
|
+
*,
|
|
270
|
+
source: str | None = None,
|
|
271
|
+
callable: str | None = None,
|
|
272
|
+
inputs: _Ports = None,
|
|
273
|
+
outputs: _Ports = None,
|
|
274
|
+
params: dict[str, Any] | None = None,
|
|
275
|
+
validators: dict[str, Any] | None = None,
|
|
276
|
+
tags: list[str] | tuple[str, ...] | None = None,
|
|
277
|
+
) -> StepDef:
|
|
278
|
+
"""Declare a Python step.
|
|
279
|
+
|
|
280
|
+
Exactly one of ``source`` or ``callable`` must be provided.
|
|
281
|
+
|
|
282
|
+
Args:
|
|
283
|
+
name: Unique step name.
|
|
284
|
+
source: Path to a Python source file to execute.
|
|
285
|
+
callable: Dotted callable reference (e.g. ``"mymod:my_func"``).
|
|
286
|
+
|
|
287
|
+
Returns:
|
|
288
|
+
A frozen :class:`~orchetto.model.defs.StepDef` with ``kind="python"``.
|
|
289
|
+
"""
|
|
290
|
+
return StepDef(
|
|
291
|
+
name=name,
|
|
292
|
+
kind=STEP_PYTHON,
|
|
293
|
+
source=source,
|
|
294
|
+
callable=callable,
|
|
295
|
+
inputs=_normalize_ports(inputs),
|
|
296
|
+
outputs=_normalize_ports(outputs),
|
|
297
|
+
params=params or {},
|
|
298
|
+
validators=_normalize_validators(validators),
|
|
299
|
+
tags=tuple(tags) if tags else (),
|
|
300
|
+
)
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
def bash(
|
|
304
|
+
name: str,
|
|
305
|
+
*,
|
|
306
|
+
command: str | None = None,
|
|
307
|
+
source: str | None = None,
|
|
308
|
+
inputs: _Ports = None,
|
|
309
|
+
outputs: _Ports = None,
|
|
310
|
+
params: dict[str, Any] | None = None,
|
|
311
|
+
validators: dict[str, Any] | None = None,
|
|
312
|
+
tags: list[str] | tuple[str, ...] | None = None,
|
|
313
|
+
) -> StepDef:
|
|
314
|
+
"""Declare a Bash step.
|
|
315
|
+
|
|
316
|
+
Exactly one of ``command`` or ``source`` must be provided.
|
|
317
|
+
|
|
318
|
+
Args:
|
|
319
|
+
name: Unique step name.
|
|
320
|
+
command: Inline bash command string.
|
|
321
|
+
source: Path to a bash script file.
|
|
322
|
+
|
|
323
|
+
Returns:
|
|
324
|
+
A frozen :class:`~orchetto.model.defs.StepDef` with ``kind="bash"``.
|
|
325
|
+
"""
|
|
326
|
+
return StepDef(
|
|
327
|
+
name=name,
|
|
328
|
+
kind=STEP_BASH,
|
|
329
|
+
command=command,
|
|
330
|
+
source=source,
|
|
331
|
+
inputs=_normalize_ports(inputs),
|
|
332
|
+
outputs=_normalize_ports(outputs),
|
|
333
|
+
params=params or {},
|
|
334
|
+
validators=_normalize_validators(validators),
|
|
335
|
+
tags=tuple(tags) if tags else (),
|
|
336
|
+
)
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
def sql(
|
|
340
|
+
name: str,
|
|
341
|
+
source: str,
|
|
342
|
+
connection: str,
|
|
343
|
+
*,
|
|
344
|
+
inputs: _Ports = None,
|
|
345
|
+
outputs: _Ports = None,
|
|
346
|
+
params: dict[str, Any] | None = None,
|
|
347
|
+
validators: dict[str, Any] | None = None,
|
|
348
|
+
tags: list[str] | tuple[str, ...] | None = None,
|
|
349
|
+
) -> StepDef:
|
|
350
|
+
"""Declare a SQL step (stub – full SQL execution arrives in a later phase).
|
|
351
|
+
|
|
352
|
+
Args:
|
|
353
|
+
name: Unique step name.
|
|
354
|
+
source: Path to a SQL file.
|
|
355
|
+
connection: Connection string (e.g. ``"duckdb://db"``).
|
|
356
|
+
|
|
357
|
+
Returns:
|
|
358
|
+
A frozen :class:`~orchetto.model.defs.StepDef` with ``kind="sql"``.
|
|
359
|
+
"""
|
|
360
|
+
return StepDef(
|
|
361
|
+
name=name,
|
|
362
|
+
kind=STEP_SQL,
|
|
363
|
+
source=source,
|
|
364
|
+
connection=connection,
|
|
365
|
+
inputs=_normalize_ports(inputs),
|
|
366
|
+
outputs=_normalize_ports(outputs),
|
|
367
|
+
params=params or {},
|
|
368
|
+
validators=_normalize_validators(validators),
|
|
369
|
+
tags=tuple(tags) if tags else (),
|
|
370
|
+
)
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
# ---------------------------------------------------------------------------
|
|
374
|
+
# Pipeline constructor
|
|
375
|
+
# ---------------------------------------------------------------------------
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
def Pipeline(
|
|
379
|
+
name: str,
|
|
380
|
+
*,
|
|
381
|
+
steps: list[StepDef] | tuple[StepDef, ...] | None = None,
|
|
382
|
+
external_assets: list[ExternalAssetDef] | tuple[ExternalAssetDef, ...] | None = None,
|
|
383
|
+
settings: dict[str, Any] | None = None,
|
|
384
|
+
) -> PipelineDef:
|
|
385
|
+
"""Build a :class:`~orchetto.model.defs.PipelineDef` from user input.
|
|
386
|
+
|
|
387
|
+
Lists are normalized to tuples internally by ``PipelineDef``.
|
|
388
|
+
|
|
389
|
+
Args:
|
|
390
|
+
name: Pipeline name.
|
|
391
|
+
steps: Step definitions created via :func:`notebook`, :func:`python_step`,
|
|
392
|
+
:func:`bash`, or :func:`sql`.
|
|
393
|
+
external_assets: External asset declarations created via :func:`external`.
|
|
394
|
+
settings: Free-form project-level settings.
|
|
395
|
+
|
|
396
|
+
Returns:
|
|
397
|
+
A frozen :class:`~orchetto.model.defs.PipelineDef`.
|
|
398
|
+
"""
|
|
399
|
+
return PipelineDef(
|
|
400
|
+
name=name,
|
|
401
|
+
steps=tuple(steps) if steps else (),
|
|
402
|
+
external_assets=tuple(external_assets) if external_assets else (),
|
|
403
|
+
settings=settings or {},
|
|
404
|
+
)
|
|
Binary file
|