Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
snovod committed Oct 3, 2024
1 parent 9d836d3 commit 69372aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions python/hard_clone_workspace.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import json
import logging
import sys
from typing import Any
from argparse import Namespace, ArgumentParser

Expand Down
5 changes: 3 additions & 2 deletions python/utils/terra_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,9 @@ def update_user_acl(
return request_json

def put_metadata_for_library_dataset(self, library_metadata: dict, validate: bool = False) -> None:
acl = f"{self.TERRA_LINK}/library/{self.billing_project}/{self.workspace_name}/metadata?validate={str(validate).lower()}"
response = self.request_util.run_request(
acl = f"{self.TERRA_LINK}/library/{self.billing_project}/{self.workspace_name}" + \
f"/metadata?validate={str(validate).lower()}"
self.request_util.run_request(
uri=acl,
method=PUT,
data=json.dumps(library_metadata)
Expand Down

0 comments on commit 69372aa

Please sign in to comment.