Commit c409a83 1 parent eec37e9 commit c409a83 Copy full SHA for c409a83
File tree 1 file changed +3
-3
lines changed
metadata-ingestion/src/datahub/ingestion/source/tableau
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 49
49
DatasetSourceConfigMixin ,
50
50
)
51
51
from datahub .configuration .validate_field_deprecation import pydantic_field_deprecated
52
+ from datahub .configuration .validate_field_removal import pydantic_removed_field
52
53
from datahub .emitter .mcp import MetadataChangeProposalWrapper
53
54
from datahub .emitter .mcp_builder import (
54
55
ContainerKey ,
@@ -382,7 +383,7 @@ class TableauConfig(
382
383
383
384
fetch_size : int = Field (
384
385
default = 250 ,
385
- description = "[deprecated] Use page_size instead. Specifies the number of records to retrieve in each batch during a query execution ." ,
386
+ description = "[removed] The 'fetch_size' field is no longer used. Please use 'page_size' instead ." ,
386
387
hidden_from_docs = True ,
387
388
)
388
389
@@ -500,9 +501,8 @@ class TableauConfig(
500
501
"This can only be used with ingest_tags enabled as it will overwrite tags entered from the UI." ,
501
502
)
502
503
503
- _fetch_size = pydantic_field_deprecated (
504
+ _fetch_size = pydantic_removed_field (
504
505
"fetch_size" ,
505
- message = "fetch_size is deprecated, use page_size instead" ,
506
506
)
507
507
508
508
# pre = True because we want to take some decision before pydantic initialize the configuration to default values
You can’t perform that action at this time.
0 commit comments