Skip to content

Commit

Permalink
Merge pull request #300 from PrefectHQ/update-metadata-manually
Browse files Browse the repository at this point in the history
Update metadata manually for problem collections
  • Loading branch information
zzstoatzz authored Oct 10, 2023
2 parents cad5620 + 4f073ce commit 3829184
Show file tree
Hide file tree
Showing 9 changed files with 306 additions and 7 deletions.
3 changes: 3 additions & 0 deletions collections/prefect-openmetadata/blocks/v0.3.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"prefect-openmetadata": {}
}
3 changes: 3 additions & 0 deletions collections/prefect-openmetadata/flows/v0.3.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"prefect-openmetadata": {}
}
3 changes: 3 additions & 0 deletions collections/prefect-openmetadata/workers/v0.3.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"prefect-openmetadata": {}
}
279 changes: 279 additions & 0 deletions collections/prefect-sqlalchemy/blocks/v0.3.0.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions collections/prefect-sqlalchemy/flows/v0.3.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"prefect-sqlalchemy": {}
}
3 changes: 3 additions & 0 deletions collections/prefect-sqlalchemy/workers/v0.3.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"prefect-sqlalchemy": {}
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"prefect>=2.8.2",
"prefect>=2.13.5",
"fastjsonschema==2.16.2",
"github3.py>=3.2.0",

Expand Down
11 changes: 8 additions & 3 deletions src/update_collection_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ async def update_all_collections(

return Completed(message="All new releases have been recorded.")

if __name__ == "__main__":
import asyncio
asyncio.run(update_all_collections())

# if __name__ == "__main__":
## ALL COLLECTIONS
# asyncio.run(update_all_collections())

## MANUAL RUNS
# for collection in ["prefect-sqlalchemy"]:
# update_collection_metadata(collection, "update-metadata-manually")
6 changes: 3 additions & 3 deletions views/aggregate-block-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -8426,7 +8426,7 @@
}
},
"capabilities": [],
"version": "0.2.4"
"version": "0.3.0"
}
},
"sqlalchemy-connector": {
Expand Down Expand Up @@ -8576,7 +8576,7 @@
}
},
"capabilities": [],
"version": "0.2.4"
"version": "0.3.0"
}
}
}
Expand Down Expand Up @@ -8637,4 +8637,4 @@
}
}
}
}
}

0 comments on commit 3829184

Please sign in to comment.