File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def __init__(self) -> None:
21
21
"supported_sync_modes" : ["full_refresh" , "incremental" ],
22
22
"source_defined_primary_key" : [["id" ]],
23
23
},
24
- "primary_key" : [[ "id" ]] ,
24
+ "primary_key" : None ,
25
25
"sync_mode" : "full_refresh" ,
26
26
"destination_sync_mode" : "overwrite" ,
27
27
}
@@ -40,6 +40,10 @@ def with_destination_sync_mode(
40
40
self ._stream ["destination_sync_mode" ] = sync_mode .name
41
41
return self
42
42
43
+ def with_destination_object_name (self , name : str ) -> "ConfiguredAirbyteStreamBuilder" :
44
+ self ._stream ["destination_object_name" ] = name
45
+ return self
46
+
43
47
def with_primary_key (self , pk : List [List [str ]]) -> "ConfiguredAirbyteStreamBuilder" :
44
48
self ._stream ["primary_key" ] = pk
45
49
self ._stream ["stream" ]["source_defined_primary_key" ] = pk # type: ignore # we assume that self._stream["stream"] is a Dict[str, Any]
You can’t perform that action at this time.
0 commit comments