Skip to content

Commit 8e37efd

Browse files
authored
Added 17 missing columns to the list_activity_events function (#340)
Co-authored-by: Trey Udy <[email protected]>
1 parent 6cb779e commit 8e37efd

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

src/sempy_labs/admin/_basic_functions.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,23 @@ def list_activity_events(
777777
"Object Display Name",
778778
"Experience",
779779
"Refresh Enforcement Policy",
780+
"Is Success",
781+
"Activity Id",
782+
"Item Name",
783+
"Dataset Name",
784+
"Report Name",
785+
"Capacity Id",
786+
"Capacity Name",
787+
"App Name",
788+
"Dataset Id",
789+
"Report Id",
790+
"Artifact Id",
791+
"Artifact Name",
792+
"Report Type",
793+
"App Report Id",
794+
"Distribution Method",
795+
"Consumption Method",
796+
"Artifact Kind",
780797
]
781798
)
782799

@@ -825,6 +842,23 @@ def list_activity_events(
825842
"Object Display Name": i.get("ObjectDisplayName"),
826843
"Experience": i.get("Experience"),
827844
"Refresh Enforcement Policy": i.get("RefreshEnforcementPolicy"),
845+
"Is Success": i.get("IsSuccess"),
846+
"Activity Id": i.get("ActivityId"),
847+
"Item Name": i.get("ItemName"),
848+
"Dataset Name": i.get("DatasetName"),
849+
"Report Name": i.get("ReportName"),
850+
"Capacity Id": i.get("CapacityId"),
851+
"Capacity Name": i.get("CapacityName"),
852+
"App Name": i.get("AppName"),
853+
"Dataset Id": i.get("DatasetId"),
854+
"Report Id": i.get("ReportId"),
855+
"Artifact Id": i.get("ArtifactId"),
856+
"Artifact Name": i.get("ArtifactName"),
857+
"Report Type": i.get("ReportType"),
858+
"App Report Id": i.get("AppReportId"),
859+
"Distribution Method": i.get("DistributionMethod"),
860+
"Consumption Method": i.get("ConsumptionMethod"),
861+
"Artifact Kind": i.get("ArtifactKind"),
828862
}
829863
df = pd.concat(
830864
[df, pd.DataFrame(new_data, index=[0])],

0 commit comments

Comments
 (0)