File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -305,6 +305,10 @@ def _get_private_bytes_from_file(
305
305
None ,
306
306
(type (None ), int ),
307
307
), # SNOW-1817982: limit iobound TPE sizes when executing PUT/GET
308
+ "unsafe_file_write" : (
309
+ False ,
310
+ bool ,
311
+ ), # SNOW-1944208: add unsafe write flag
308
312
}
309
313
310
314
APPLICATION_RE = re .compile (r"[\w\d_]+" )
@@ -1243,11 +1247,6 @@ def __config(self, **kwargs):
1243
1247
if "protocol" not in kwargs :
1244
1248
self ._protocol = "https"
1245
1249
1246
- if "unsafe_file_write" in kwargs :
1247
- self ._unsafe_file_write = kwargs ["unsafe_file_write" ]
1248
- else :
1249
- self ._unsafe_file_write = False
1250
-
1251
1250
logger .info (
1252
1251
f"Connecting to { _DOMAIN_NAME_MAP .get (extract_top_level_domain_from_hostname (self ._host ), 'GLOBAL' )} Snowflake domain"
1253
1252
)
You can’t perform that action at this time.
0 commit comments