documentation change
This commit is contained in:
parent
0f59d3de09
commit
10dce542ec
|
@ -304,6 +304,11 @@ def get_changed_workflows(remote):
|
||||||
|
|
||||||
|
|
||||||
def get_all_spec_state():
|
def get_all_spec_state():
|
||||||
|
"""
|
||||||
|
Return a list of all workflow specs along with last updated date and a
|
||||||
|
thumbprint of all of the files that are used for that workflow_spec
|
||||||
|
Convert into a dict list from a dataframe
|
||||||
|
"""
|
||||||
df = get_all_spec_state_dataframe()
|
df = get_all_spec_state_dataframe()
|
||||||
return df.reset_index().to_dict(orient='records')
|
return df.reset_index().to_dict(orient='records')
|
||||||
|
|
||||||
|
@ -311,6 +316,7 @@ def get_all_spec_state_dataframe():
|
||||||
"""
|
"""
|
||||||
Return a list of all workflow specs along with last updated date and a
|
Return a list of all workflow specs along with last updated date and a
|
||||||
thumbprint of all of the files that are used for that workflow_spec
|
thumbprint of all of the files that are used for that workflow_spec
|
||||||
|
Return a dataframe
|
||||||
"""
|
"""
|
||||||
x = session.query(FileDataModel).join(FileModel)
|
x = session.query(FileDataModel).join(FileModel)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue