@@ -885,15 +885,14 @@ def get_statistics(
885885 start_date : Optional [datetime .datetime ] = None ,
886886 end_date : Optional [datetime .datetime ] = None ,
887887 force_refresh : bool = False ,
888- default_project : Optional [str ] = None ,
888+ project : Optional [str ] = None ,
889889 ) -> statistics_pb2 .DatasetFeatureStatisticsList :
890890 """
891891 Retrieves the feature featureStatistics computed over the data in the batch
892892 stores.
893893
894894 Args:
895- feature_set_id: Fully qualified feature set id in the format
896- project/feature_set to retrieve batch featureStatistics for. If project
895+ feature_set_id: Feature set id to retrieve batch featureStatistics for. If project
897896 is not provided, the default ("default") will be used.
898897 store: Name of the store to retrieve feature featureStatistics over. This
899898 store must be a historical store.
@@ -913,7 +912,7 @@ def get_statistics(
913912 multiple days, unaggregatable featureStatistics will be dropped.
914913 force_refresh: Setting this flag to true will force a recalculation
915914 of featureStatistics and overwrite results currently in the cache, if any.
916- default_project : Manual override for default project.
915+ project : Manual override for default project.
917916
918917 Returns:
919918 Returns a tensorflow DatasetFeatureStatisticsList containing TFDV featureStatistics.
@@ -926,8 +925,8 @@ def get_statistics(
926925 "Only one of dataset_id or [start_date, end_date] can be provided."
927926 )
928927
929- if default_project != "" and "/" not in feature_set_id :
930- feature_set_id = f"{ default_project } /{ feature_set_id } "
928+ if project != "" and "/" not in feature_set_id :
929+ feature_set_id = f"{ project } /{ feature_set_id } "
931930
932931 request = GetFeatureStatisticsRequest (
933932 feature_set_id = feature_set_id ,
0 commit comments