@@ -2645,7 +2645,6 @@ def insert(
2645
2645
storage : Optional [str ] = None ,
2646
2646
write_options : Optional [Dict [str , Any ]] = None ,
2647
2647
validation_options : Optional [Dict [str , Any ]] = None ,
2648
- save_code : Optional [bool ] = True ,
2649
2648
wait : bool = False ,
2650
2649
) -> Tuple [Optional [Job ], Optional [ValidationReport ]]:
2651
2650
"""Persist the metadata and materialize the feature group to the feature store
@@ -2751,10 +2750,6 @@ def insert(
2751
2750
* key `ge_validate_kwargs` a dictionary containing kwargs for the validate method of Great Expectations.
2752
2751
* key `fetch_expectation_suite` a boolean value, by default `True`, to control whether the expectation
2753
2752
suite of the feature group should be fetched before every insert.
2754
- save_code: When running HSFS on Hopsworks or Databricks, HSFS can save the code/notebook used to create
2755
- the feature group or used to insert data to it. When calling the `insert` method repeatedly
2756
- with small batches of data, this can slow down the writes. Use this option to turn off saving
2757
- code. Defaults to `True`.
2758
2753
wait: Wait for job to finish before returning, defaults to `False`.
2759
2754
Shortcut for read_options `{"wait_for_job": False}`.
2760
2755
@@ -3721,7 +3716,6 @@ def insert(
3721
3716
],
3722
3717
write_options : Optional [Dict [str , Any ]] = None ,
3723
3718
validation_options : Optional [Dict [str , Any ]] = None ,
3724
- save_code : Optional [bool ] = True ,
3725
3719
wait : bool = False ,
3726
3720
) -> Tuple [
3727
3721
None , Optional [great_expectations .core .ExpectationSuiteValidationResult ]
@@ -3774,10 +3768,6 @@ def insert(
3774
3768
* key `ge_validate_kwargs` a dictionary containing kwargs for the validate method of Great Expectations.
3775
3769
* key `fetch_expectation_suite` a boolean value, by default `True`, to control whether the expectation
3776
3770
suite of the feature group should be fetched before every insert.
3777
- save_code: When running HSFS on Hopsworks or Databricks, HSFS can save the code/notebook used to create
3778
- the feature group or used to insert data to it. When calling the `insert` method repeatedly
3779
- with small batches of data, this can slow down the writes. Use this option to turn off saving
3780
- code. Defaults to `True`.
3781
3771
3782
3772
# Returns
3783
3773
Tuple(None, `ge.core.ExpectationSuiteValidationResult`) The validation report if validation is enabled.
0 commit comments