We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d91d1 commit bfe622fCopy full SHA for bfe622f
scripts/manage_hf_collection.py
@@ -132,7 +132,8 @@ def discover_openenv_spaces(api: HfApi) -> List[str]:
132
space_info = api.space_info(space.id)
133
# Check if it's a Docker space and has the openenv tag
134
if (hasattr(space_info, 'sdk') and space_info.sdk == 'docker' and
135
- hasattr(space_info, 'tags') and TAG_FILTER in space_info.tags):
+ hasattr(space_info, 'tags') and TAG_FILTER in space_info.tags and
136
+ space_info.runtime.stage != "RUNTIME_ERROR"):
137
docker_spaces_with_tag.append(space.id)
138
except Exception as e:
139
logger.warning(f"Could not fetch info for space {space.id}: {e}")
0 commit comments