You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b0500b0
Browse filesBrowse the repository at this point in the historyBrowse files
feat(ui): providers page with a published providers document (#1452)
* feat(ui): providers page with a published providers document
* fix(providers): load pydantic only when reading provider settings
The CLI imports project_modules at startup, so a module-level pydantic
import broke the startup import footprint.
/** @description Code that injects a provider: a node (`loader`, `task`, `asset`, `check`, `hook` or `materialization`, keyed `kind:name`), an `event_exporter` or a `sink`. */
2404
+
ProviderConsumer: {
2405
+
kind: string;
2406
+
name: string;
2407
+
};
2408
+
/** @description A provider as its location published it, from the class alone: never a setting value. */
2409
+
ProviderRecord: {
2410
+
/** @description The class as `module.qualname`. */
2411
+
class: string;
2412
+
/** @description The class docstring. */
2413
+
description: string;
2414
+
/** @description Jobs whose selection includes one of those nodes. */
2415
+
jobs?: string[];
2416
+
name: string;
2417
+
/** @description Snapshot nodes that run that code: Python nodes, models calling a hook or using a materialization, and sources a loader fills. */
2418
+
nodes?: string[];
2419
+
/** @description The file declaring the class, relative to the project. */
/// The annotation as written, such as `str` or `SecretStr | None`.
293
+
#[serde(rename = "type")]
294
+
pubtype_name:String,
295
+
pubrequired:bool,
296
+
/// Whether the annotation is a pydantic secret type.
297
+
pubsecret:bool,
298
+
/// The environment variable the setting is read from.
299
+
pubenv:String,
300
+
pubdescription:Option<String>,
301
+
}
302
+
303
+
/// Code that injects a provider: a node (`loader`, `task`, `asset`, `check`, `hook` or `materialization`, keyed `kind:name`), an `event_exporter` or a `sink`.
0 commit comments