From e35fc954b573733ddb6340376cf781d4a2056db9 Mon Sep 17 00:00:00 2001 From: Justin Terry Date: Mon, 16 Sep 2024 11:19:10 -0700 Subject: [PATCH] Revert bad change --- src/datapump/clients/data_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datapump/clients/data_api.py b/src/datapump/clients/data_api.py index 672b794..c14cb94 100644 --- a/src/datapump/clients/data_api.py +++ b/src/datapump/clients/data_api.py @@ -148,7 +148,7 @@ def create_aux_asset( self, dataset: str, version: str, payload: Dict[str, Any] ) -> Dict[str, Any]: uri = f"{GLOBALS.data_api_uri}/dataset/{dataset}/{version}/assets" - return self.get_version(ValidMethods.post, uri, payload)["data"] + return self._send_request(ValidMethods.post, uri, payload)["data"] def append( self, dataset: str, version: str, source_uris: List[str]