Skip to content

Commit

Permalink
add version 0 bypass
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Aug 23, 2024
1 parent c14d51f commit de90098
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions materializationengine/blueprints/client/datastack.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def wrapper(*args, **kwargs):
AnalysisVersion.datastack == target_datastack
)
if target_version:
if target_version == 0:
return f(*args, **kwargs)
if target_version == -1:
return f(*args, **kwargs)
version_query = version_query.filter(
Expand Down

0 comments on commit de90098

Please sign in to comment.