@@ -460,6 +460,21 @@ def metadata_tml_import(self, metadata_tmls: List[str], import_policy: str = 'PA
460
460
}
461
461
return self .post_request (endpoint = endpoint , request = request )
462
462
463
+ def metadata_tml_async_import (self , metadata_tmls : List [str ], import_policy : str = 'PARTIAL' ,
464
+ create_new : bool = False , all_orgs_context : bool = False ,
465
+ skip_cdw_validation_for_tables : bool = False ):
466
+ endpoint = 'metadata/tml/async/import'
467
+ request = {
468
+ 'metadata_tmls' : metadata_tmls ,
469
+ 'import_policy' : import_policy ,
470
+ 'create_new' : create_new
471
+ }
472
+ return self .post_request (endpoint = endpoint , request = request )
473
+
474
+ def metadata_tml_async_status (self , request : Dict ):
475
+ endpoint = 'metadata/tml/async/status'
476
+ return self .post_request (endpoint = endpoint , request = request )
477
+
463
478
# Out of convenience, providing a simple List[str] input for getting these by GUID. metadata_request will override
464
479
# if you need the deeper functionality with names / types
465
480
def metadata_tml_export (self , metadata_ids : List [str ], export_associated : bool = False , export_fqn : bool = False ,
@@ -486,6 +501,10 @@ def metadata_tml_export(self, metadata_ids: List[str], export_associated: bool =
486
501
request ['metadata' ] = metadata_list
487
502
return self .post_request (endpoint = endpoint , request = request )
488
503
504
+ def metadata_tml_export_batch (self , request : Dict ):
505
+ endpoint = 'metadata/tml/export/batch'
506
+ return self .post_request (endpoint = endpoint , request = request )
507
+
489
508
# Out of convenience, providing a simple List[str] input for getting these by GUID. metadata_request will override
490
509
# if you need the deeper functionality with names / types
491
510
def metadata_delete (self , metadata_ids : List [str ], delete_disabled_objects : bool = False ,
0 commit comments