Explorar o código

remove unwanted datanode filters (#2063)

* remove unwanted datanode filters
resolves #2052

* Update config.pyi

---------

Co-authored-by: Fred Lefévère-Laoide <Fred.Lefevere-Laoide@Taipy.io>
Co-authored-by: FredLL-Avaiga <FredLL-Avaiga@users.noreply.github.com>
Fred Lefévère-Laoide hai 7 meses
pai
achega
63f0cbf9a5
Modificáronse 2 ficheiros con 24 adicións e 9 borrados
  1. 24 6
      taipy/common/config/config.pyi
  2. 0 3
      taipy/gui_core/_adapters.py

+ 24 - 6
taipy/common/config/config.pyi

@@ -847,7 +847,9 @@ class Config:
         aws_s3_bucket_name: str,
         aws_s3_object_key: str,
         aws_region: Optional[str] = None,
-        aws_s3_object_parameters: Optional[Dict[str, Any]] = None,
+        aws_s3_client_parameters: Optional[Dict[str, Any]] = None,
+        aws_s3_get_object_parameters: Optional[Dict[str, Any]] = None,
+        aws_s3_put_object_parameters: Optional[Dict[str, Any]] = None,
         scope: Optional[Scope] = None,
         validity_period: Optional[timedelta] = None,
         **properties,
@@ -856,13 +858,29 @@ class Config:
 
         Parameters:
             id (str): The unique identifier of the new S3 Object data node configuration.
-            aws_access_key (str): Amazon Web Services ID for to identify account.
-            aws_secret_access_key (str): Amazon Web Services access key to authenticate programmatic requests.
-            aws_s3_bucket_name (str): The bucket in S3 to read from and to write the data to.
+            aws_access_key (str): Amazon Web Services (AWS) ID for to identify account.
+            aws_secret_access_key (str): Amazon Web Services (AWS) access key to authenticate
+                programmatic requests.
+            aws_s3_bucket_name (str): The Amazon Web Services (AWS) S3 bucket to read from and
+                to write the data to.
+            aws_s3_object_key (str): The Amazon Web Services (AWS) S3 object key to read
+                or write.
             aws_region (Optional[str]): Self-contained geographic area where Amazon Web Services (AWS)
                 infrastructure is located.
-            aws_s3_object_parameters (Optional[dict[str, any]]): A dictionary of additional arguments to be passed
-                into AWS S3 bucket access string.
+            aws_s3_client_parameters (Optional[dict]): Additional parameters for advanced use
+                cases to be passed to the Amazon Web Services (AWS) S3 client.<br/>
+                Each parameter key must match the name of a parameter of the
+                `boto3.session.Session.client` API.
+            aws_s3_get_object_parameters (Optional[dict]): Additional parameters to be
+                passed to the Amazon Web Services (AWS) S3 client get function for
+                advanced reading use cases. <br/>
+                Each parameter key must match the name of a parameter of the
+                `boto3.client.get_object` API.
+            aws_s3_put_object_parameters (Optional[dict]): Additional parameters to be
+                passed to the Amazon Web Services (AWS) S3 client put function for
+                advanced writing use cases. <br/>
+                Each parameter key must match the name of a parameter of the
+                `boto3.client.put_object` API.
             scope (Optional[Scope^]): The scope of the S3 Object data node configuration.<br/>
                 The default value is `Scope.SCENARIO`.
             validity_period (Optional[timedelta]): The duration since the last edit date for which the data node can be

+ 0 - 3
taipy/gui_core/_adapters.py

@@ -551,9 +551,6 @@ class _GuiCoreDatanodeProperties(_GuiCoreProperties):
         _GuiCorePropDesc(DataNodeFilter("Label", str, "get_simple_label()"), for_sort=True),
         _GuiCorePropDesc(DataNodeFilter("Up to date", bool, "is_up_to_date")),
         _GuiCorePropDesc(DataNodeFilter("Last edit date", datetime, "last_edit_date"), for_sort=True),
-        _GuiCorePropDesc(DataNodeFilter("Input", bool, "is_input")),
-        _GuiCorePropDesc(DataNodeFilter("Output", bool, "is_output")),
-        _GuiCorePropDesc(DataNodeFilter("Intermediate", bool, "is_intermediate")),
         _GuiCorePropDesc(DataNodeFilter("Expiration date", datetime, "expiration_date"), extended=True, for_sort=True),
         _GuiCorePropDesc(DataNodeFilter("Expired", bool, "is_expired"), extended=True),
     ]