Skip to content

Commit

Permalink
fix backfill command (#2730)
Browse files Browse the repository at this point in the history
  • Loading branch information
pingsutw authored Sep 5, 2024
1 parent a5c44cd commit a9c9c46
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions flytekit/remote/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,9 +781,13 @@ async def _serialize_and_register(
# serial register
cp_other_entities = OrderedDict(filter(lambda x: not isinstance(x[1], task_models.TaskSpec), m.items()))
for entity, cp_entity in cp_other_entities.items():
identifiers_or_exceptions.append(
self.raw_register(cp_entity, serialization_settings, version, og_entity=entity)
)
try:
identifiers_or_exceptions.append(
self.raw_register(cp_entity, serialization_settings, version, og_entity=entity)
)
except RegistrationSkipped as e:
logger.info(f"Skipping registration... {e}")
continue
return identifiers_or_exceptions[-1]

def register_task(
Expand Down

0 comments on commit a9c9c46

Please sign in to comment.