Skip to content

Commit c89459d

Browse files
author
Christophe GUILLOT
committed
debug space creation
1 parent 5e2855d commit c89459d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

libs/hfdm/src/hfdm/hf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ def __create_docker_space(self, repo_name, environment: dict, secrets: dict):
197197
space_variables = self.__dict_to_space_key_value(environment)
198198
space_secrets = self.__dict_to_space_key_value(secrets)
199199

200+
logger.debug("create_docker_space: %s", repo_name)
201+
logger.debug("space environment: %s", environment)
202+
200203
repo_url = self.hf_api.create_repo(
201204
repo_id=self.__repo_id(repo_name),
202205
repo_type="space",
@@ -252,6 +255,8 @@ def install(
252255
self.__prepare_deployment_and_push_to_hf(deployment)
253256
elif force is True:
254257
# re-update env and secrets
258+
logger.warning("updating space: %s not implemented", deployment_name)
259+
255260
# TODO: re-update env and secrets
256261
pass
257262
else:

0 commit comments

Comments
 (0)