@@ -460,6 +460,21 @@ def metadata_tml_import(self, metadata_tmls: List[str], import_policy: str = 'PA
460460 }
461461 return self .post_request (endpoint = endpoint , request = request )
462462
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+
463478 # Out of convenience, providing a simple List[str] input for getting these by GUID. metadata_request will override
464479 # if you need the deeper functionality with names / types
465480 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 =
486501 request ['metadata' ] = metadata_list
487502 return self .post_request (endpoint = endpoint , request = request )
488503
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+
489508 # Out of convenience, providing a simple List[str] input for getting these by GUID. metadata_request will override
490509 # if you need the deeper functionality with names / types
491510 def metadata_delete (self , metadata_ids : List [str ], delete_disabled_objects : bool = False ,
0 commit comments