pub struct ParsedFile {
pub path: String,
pub dags: Vec<Dag>,
pub connections: Vec<ConnectionDef>,
pub error: Option<ErrorSummary>,
pub warnings: Vec<String>,
pub script_roots: Vec<String>,
}Expand description
One file of a parse job: the DAGs it defines, or why it couldn’t be imported. The agent
builds it from file_parsed, uploads it to the master, which stores it as is.
Fields§
§path: StringThe path relative to the root.
dags: Vec<Dag>The DAGs it defines (none for a helper module or a failed import).
connections: Vec<ConnectionDef>The connections it defines itself (decision 174: the root’s registry).
error: Option<ErrorSummary>Why importing it failed, if it did.
warnings: Vec<String>The Python warnings importing it raised (Category: message), for schedr dags check; neither uploaded to the master nor stored.
script_roots: Vec<String>The script roots its ScriptOperators asked the agent about while it was imported,
found or not (decision 304): the master tells every worker which script roots each DAG
root uses, from its current parse.
Trait Implementations§
Source§impl Clone for ParsedFile
impl Clone for ParsedFile
Source§fn clone(&self) -> ParsedFile
fn clone(&self) -> ParsedFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedFile
impl Debug for ParsedFile
Source§impl<'de> Deserialize<'de> for ParsedFile
impl<'de> Deserialize<'de> for ParsedFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ParsedFile
Source§impl PartialEq for ParsedFile
impl PartialEq for ParsedFile
Source§impl Serialize for ParsedFile
impl Serialize for ParsedFile
impl StructuralPartialEq for ParsedFile
Auto Trait Implementations§
impl Freeze for ParsedFile
impl RefUnwindSafe for ParsedFile
impl Send for ParsedFile
impl Sync for ParsedFile
impl Unpin for ParsedFile
impl UnsafeUnpin for ParsedFile
impl UnwindSafe for ParsedFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more