File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,9 @@ class IcebergRESTCatalogS3ConnectionDTO(ConnectionDTO):
8585 s3_secret_key : str
8686 metastore_username : str
8787 metastore_password : str
88- s3_port : int | None = None
89- s3_protocol : str = "https"
88+ s3_port : int | None
89+ s3_protocol : str
90+ additional_params : dict
9091 type : ClassVar [str ] = "iceberg_rest_s3"
9192
9293
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ class CreateIcebergRESTCatalogS3ConnectionDataSchema(BaseModel):
2626 s3_bucket : str
2727 s3_region : str
2828 s3_bucket_style : Literal ["domain" , "path" ] = "path"
29+ additional_params : dict = Field (default_factory = dict )
2930
3031
3132class ReadIcebergRESTCatalogS3ConnectionDataSchema (BaseModel ):
@@ -37,6 +38,7 @@ class ReadIcebergRESTCatalogS3ConnectionDataSchema(BaseModel):
3738 s3_bucket : str
3839 s3_region : str
3940 s3_bucket_style : Literal ["domain" , "path" ] = "path"
41+ additional_params : dict = Field (default_factory = dict )
4042
4143
4244class CreateIcebergConnectionSchema (CreateConnectionBaseSchema ):
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ class CreateS3ConnectionDataSchema(BaseModel):
2323 region : str | None = None
2424 protocol : Literal ["http" , "https" ] = "https"
2525 bucket_style : Literal ["domain" , "path" ] = "domain"
26+ additional_params : dict = Field (default_factory = dict )
2627
2728 @model_validator (mode = "before" )
2829 def validate_port (cls , values : dict ) -> dict :
@@ -43,6 +44,7 @@ class ReadS3ConnectionDataSchema(BaseModel):
4344 region : str | None = None
4445 protocol : Literal ["http" , "https" ] = "https"
4546 bucket_style : Literal ["domain" , "path" ] = "domain"
47+ additional_params : dict = Field (default_factory = dict )
4648
4749
4850class CreateS3ConnectionSchema (CreateConnectionBaseSchema ):
You can’t perform that action at this time.
0 commit comments