@@ -546,6 +546,7 @@ def build_experiment(experiment_dict: ExperimentDict) -> dict[str, Any]:
546
546
"group" : build_group_ref (experiment .resource .owner ),
547
547
"created_on" : experiment .resource .created_on ,
548
548
"last_modified_on" : experiment .resource .last_modified_on ,
549
+ "snapshot_created_on" : experiment .created_on ,
549
550
"latest_snapshot" : experiment .resource .latest_snapshot_id
550
551
== experiment .resource_snapshot_id ,
551
552
"tags" : [build_tag_ref (tag ) for tag in experiment .tags ],
@@ -608,6 +609,7 @@ def build_entrypoint(entrypoint_dict: EntrypointDict) -> dict[str, Any]:
608
609
"group" : build_group_ref (entrypoint .resource .owner ),
609
610
"created_on" : entrypoint .resource .created_on ,
610
611
"last_modified_on" : entrypoint .resource .last_modified_on ,
612
+ "snapshot_created_on" : entrypoint .created_on ,
611
613
"latest_snapshot" : entrypoint .resource .latest_snapshot_id
612
614
== entrypoint .resource_snapshot_id ,
613
615
"tags" : [build_tag_ref (tag ) for tag in entrypoint .tags ],
@@ -675,6 +677,7 @@ def build_job(job_dict: JobDict) -> dict[str, Any]:
675
677
"entrypoint" : build_entrypoint_snapshot_ref (job .entry_point_job .entry_point ),
676
678
"created_on" : job .resource .created_on ,
677
679
"last_modified_on" : job .resource .last_modified_on ,
680
+ "snapshot_created_on" : job .created_on ,
678
681
"latest_snapshot" : job .resource .latest_snapshot_id == job .resource_snapshot_id ,
679
682
"tags" : [build_tag_ref (tag ) for tag in job .tags ],
680
683
}
@@ -725,6 +728,7 @@ def build_model(model_dict: ModelWithVersionDict) -> dict[str, Any]:
725
728
"group" : build_group_ref (model .resource .owner ),
726
729
"created_on" : model .resource .created_on ,
727
730
"last_modified_on" : model .resource .last_modified_on ,
731
+ "snapshot_created_on" : model .created_on ,
728
732
"latest_snapshot" : model .resource .latest_snapshot_id
729
733
== model .resource_snapshot_id ,
730
734
"tags" : [build_tag_ref (tag ) for tag in model .tags ],
@@ -772,6 +776,7 @@ def build_artifact(artifact_dict: ArtifactDict) -> dict[str, Any]:
772
776
"group" : build_group_ref (artifact .resource .owner ),
773
777
"created_on" : artifact .resource .created_on ,
774
778
"last_modified_on" : artifact .resource .last_modified_on ,
779
+ "snapshot_created_on" : artifact .created_on ,
775
780
"latest_snapshot" : artifact .resource .latest_snapshot_id
776
781
== artifact .resource_snapshot_id ,
777
782
"tags" : [build_tag_ref (tag ) for tag in artifact .tags ],
@@ -804,6 +809,7 @@ def build_queue(queue_dict: QueueDict) -> dict[str, Any]:
804
809
"group" : build_group_ref (queue .resource .owner ),
805
810
"created_on" : queue .resource .created_on ,
806
811
"last_modified_on" : queue .resource .last_modified_on ,
812
+ "snapshot_created_on" : queue .created_on ,
807
813
"latest_snapshot" : queue .resource .latest_snapshot_id
808
814
== queue .resource_snapshot_id ,
809
815
"tags" : [build_tag_ref (tag ) for tag in queue .tags ],
@@ -837,6 +843,7 @@ def build_plugin(plugin_with_files: PluginWithFilesDict) -> dict[str, Any]:
837
843
"group" : build_group_ref (plugin .resource .owner ),
838
844
"created_on" : plugin .resource .created_on ,
839
845
"last_modified_on" : plugin .resource .last_modified_on ,
846
+ "snapshot_created_on" : plugin .created_on ,
840
847
"latest_snapshot" : plugin .resource .latest_snapshot_id
841
848
== plugin .resource_snapshot_id ,
842
849
"tags" : [build_tag_ref (tag ) for tag in plugin .tags ],
@@ -867,6 +874,7 @@ def build_plugin_file(plugin_file_with_plugin: PluginFileDict) -> dict[str, Any]
867
874
"group" : build_group_ref (plugin_file .resource .owner ),
868
875
"created_on" : plugin_file .resource .created_on ,
869
876
"last_modified_on" : plugin_file .resource .last_modified_on ,
877
+ "snapshot_created_on" : plugin_file .created_on ,
870
878
"latest_snapshot" : plugin_file .resource .latest_snapshot_id
871
879
== plugin_file .resource_snapshot_id ,
872
880
"contents" : plugin_file .contents ,
@@ -943,6 +951,7 @@ def build_plugin_parameter_type(
943
951
"group" : build_group_ref (plugin_parameter_type .resource .owner ),
944
952
"created_on" : plugin_parameter_type .resource .created_on ,
945
953
"last_modified_on" : plugin_parameter_type .resource .last_modified_on ,
954
+ "snapshot_created_on" : plugin_parameter_type .created_on ,
946
955
"latest_snapshot" : plugin_parameter_type .resource .latest_snapshot_id
947
956
== plugin_parameter_type .resource_snapshot_id ,
948
957
"tags" : [build_tag_ref (tag ) for tag in plugin_parameter_type .tags ],
0 commit comments