Skip to content

Commit 282366f

Browse files
additional docstring changes
1 parent 0a9fbec commit 282366f

File tree

1 file changed

+27
-24
lines changed

1 file changed

+27
-24
lines changed

src/sagemaker/feature_store/dataset_builder.py

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,15 @@ class FeatureGroupToBeMerged:
9696
be used as target join key (default: None).
9797
table_type (TableType): A TableType representing the type of table if it is Feature Group or
9898
Panda Data Frame (default: None).
99-
feature_name_in_target (str): A string representing the feature in the target feature group
100-
that will be compared to the target feature in the base feature group. If None is
101-
provided, the record identifier will be used in the join statement. (default: None).
102-
join_comparator (JoinComparatorEnum): A JoinComparatorEnum representing the comparator used
103-
when joining the target feature in the base feature group and the feature in the target
104-
feature group (default: None).
105-
join_type (JoinTypeEnum): A JoinTypeEnum representing the type of join between the base and
106-
target feature groups. (default: None).
99+
feature_name_in_target (str): A string representing the feature in the target feature
100+
group that will be compared to the target feature in the base feature group.
101+
If None is provided, the record identifier will be used in the
102+
join statement. (default: None).
103+
join_comparator (JoinComparatorEnum): A JoinComparatorEnum representing the comparator
104+
used when joining the target feature in the base feature group and the feature
105+
in the target feature group (default: None).
106+
join_type (JoinTypeEnum): A JoinTypeEnum representing the type of join between
107+
the base and target feature groups. (default: None).
107108
"""
108109

109110
features: List[str] = attr.ib()
@@ -137,14 +138,15 @@ def construct_feature_group_to_be_merged(
137138
included in the output.
138139
target_feature_name_in_base (str): A string representing the feature name in base which
139140
will be used as target join key (default: None).
140-
feature_name_in_target (str): A string representing the feature in the target feature group
141-
that will be compared to the target feature in the base feature group. If None is
142-
provided, the record identifier will be used in the join statement. (default: None).
143-
join_comparator (JoinComparatorEnum): A JoinComparatorEnum representing the comparator used
144-
when joining the target feature in the base feature group and the feature in the target
145-
feature group (default: None).
146-
join_type (JoinTypeEnum): A JoinTypeEnum representing the type of join between the base and
147-
target feature groups. (default: None).
141+
feature_name_in_target (str): A string representing the feature in the target feature
142+
group that will be compared to the target feature in the base feature group.
143+
If None is provided, the record identifier will be used in the
144+
join statement. (default: None).
145+
join_comparator (JoinComparatorEnum): A JoinComparatorEnum representing the comparator
146+
used when joining the target feature in the base feature group and the feature
147+
in the target feature group (default: None).
148+
join_type (JoinTypeEnum): A JoinTypeEnum representing the type of join between
149+
the base and target feature groups. (default: None).
148150
Returns:
149151
A FeatureGroupToBeMerged object.
150152
@@ -299,14 +301,15 @@ def with_feature_group(
299301
will be used as a join key (default: None).
300302
included_feature_names (List[str]): A list of strings representing features to be
301303
included in the output (default: None).
302-
feature_name_in_target (str): A string representing the feature in the target feature group
303-
that will be compared to the target feature in the base feature group. If None is
304-
provided, the record identifier will be used in the join statement. (default: None).
305-
join_comparator (JoinComparatorEnum): A JoinComparatorEnum representing the comparator used
306-
when joining the target feature in the base feature group and the feature in the target
307-
feature group (default: None).
308-
join_type (JoinTypeEnum): A JoinTypeEnum representing the type of join between the base and
309-
target feature groups. (default: None).
304+
feature_name_in_target (str): A string representing the feature in the target feature
305+
group that will be compared to the target feature in the base feature group.
306+
If None is provided, the record identifier will be used in the
307+
join statement. (default: None).
308+
join_comparator (JoinComparatorEnum): A JoinComparatorEnum representing the comparator
309+
used when joining the target feature in the base feature group and the feature
310+
in the target feature group (default: None).
311+
join_type (JoinTypeEnum): A JoinTypeEnum representing the type of join between
312+
the base and target feature groups. (default: None).
310313
Returns:
311314
This DatasetBuilder object.
312315
"""

0 commit comments

Comments
 (0)