Skip to content

Commit

Permalink
Merge branch 'main' into label-all-resources-in-lineage-events
Browse files Browse the repository at this point in the history
  • Loading branch information
abrookins authored Dec 30, 2024
2 parents ccebf33 + 0049987 commit 46bc222
Show file tree
Hide file tree
Showing 235 changed files with 6,837 additions and 4,328 deletions.
33 changes: 33 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,39 @@ updates:
interval: "weekly"
labels: ["ui", "ui-dependency"]

- package-ecosystem: "npm"
directory: '/ui-v2/'
schedule:
interval: "weekly"
labels: ["ui-replatform", "ui-v2-dependency"]
groups:
# This is the name of your group, it will be used in PR titles and branch names
radix:
patterns:
- "@radix-ui*"
eslint:
patterns:
- "@eslint*"
- "eslint*"
- "typescript-eslint"
storybook:
patterns:
- "storybook"
- "@storybook*"
testling-library:
patterns:
- "@testing-library*"
tanstack-react-query:
patterns:
- "@tanstack/react-query*"
- "@tanstack/eslint-plugin-query"
tanstack-react-router:
patterns:
- "@tanstack/router*"
- "@tanstack/eslint-plugin-router"
- "@tanstack/zod-adapter"
- "@tanstack/react-router"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Thanks for opening a pull request to Prefect!
If this is your first contribution, please make sure to review our contribution guidelines: https://docs.prefect.io/latest/contributing/overview/
If this is your first contribution, please make sure to review our contribution guidelines: https://docs.prefect.io/contribute/index
-->

<!-- Include an overview of the proposed changes here -->
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- database: "sqlite"
test-type:
name: Client Tests
modules: tests/ --ignore=tests/server/ --ignore=tests/events/server --ignore=tests/test_task_runners.py --ignore=tests/runner --ignore=tests/workers
modules: tests/ --ignore=tests/typesafety --ignore=tests/server/ --ignore=tests/events/server --ignore=tests/test_task_runners.py --ignore=tests/runner --ignore=tests/workers
- database: "sqlite"
test-type:
name: Runner and Worker Tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
fetch-depth: 0

- name: Set up uv
uses: astral-sh/setup-uv@v4
uses: astral-sh/setup-uv@v5
with:
python-version: "3.12"

Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ repos:
src/prefect/server/api/.*|
src/prefect/server/schemas/.*|
src/prefect/server/events/.*|
src/prefect/server/utilities/schemas/.*|
ui-v2/package.json
)$
pass_filenames: false
2 changes: 1 addition & 1 deletion client/client_flow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from prefect import flow, task
from prefect.concurrency import asyncio, events, services, sync # noqa: F401
from prefect.concurrency import asyncio, services, sync # noqa: F401


def skip_remote_run():
Expand Down
124 changes: 99 additions & 25 deletions docs/v3/api-ref/rest-api/server/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9904,6 +9904,7 @@
}
},
"type": "object",
"required": [],
"title": "Artifact"
},
"ArtifactCollection": {
Expand Down Expand Up @@ -10030,7 +10031,10 @@
"type": "object",
"required": [
"key",
"latest_id"
"latest_id",
"id",
"created",
"updated"
],
"title": "ArtifactCollection"
},
Expand Down Expand Up @@ -10896,7 +10900,10 @@
"required": [
"name",
"trigger",
"actions"
"actions",
"id",
"created",
"updated"
],
"title": "Automation"
},
Expand Down Expand Up @@ -11557,7 +11564,10 @@
"type": "object",
"required": [
"block_schema_id",
"block_type_id"
"block_type_id",
"id",
"created",
"updated"
],
"title": "BlockDocument",
"description": "An ORM representation of a block document."
Expand Down Expand Up @@ -11899,7 +11909,10 @@
"type": "object",
"required": [
"checksum",
"block_type_id"
"block_type_id",
"id",
"created",
"updated"
],
"title": "BlockSchema",
"description": "An ORM representation of a block schema."
Expand Down Expand Up @@ -12203,7 +12216,10 @@
"type": "object",
"required": [
"name",
"slug"
"slug",
"id",
"created",
"updated"
],
"title": "BlockType",
"description": "An ORM representation of a block type"
Expand Down Expand Up @@ -14627,7 +14643,10 @@
"type": "object",
"required": [
"tag",
"concurrency_limit"
"concurrency_limit",
"id",
"created",
"updated"
],
"title": "ConcurrencyLimit",
"description": "An ORM representation of a concurrency limit."
Expand Down Expand Up @@ -14739,7 +14758,10 @@
"type": "object",
"required": [
"name",
"limit"
"limit",
"id",
"created",
"updated"
],
"title": "ConcurrencyLimitV2",
"description": "An ORM representation of a v2 concurrency limit."
Expand Down Expand Up @@ -15101,7 +15123,10 @@
"required": [
"token",
"client",
"expiration"
"expiration",
"id",
"created",
"updated"
],
"title": "CsrfToken"
},
Expand Down Expand Up @@ -16260,7 +16285,10 @@
"type": "object",
"required": [
"name",
"flow_id"
"flow_id",
"id",
"created",
"updated"
],
"title": "DeploymentResponse"
},
Expand Down Expand Up @@ -16345,7 +16373,10 @@
},
"type": "object",
"required": [
"schedule"
"schedule",
"id",
"created",
"updated"
],
"title": "DeploymentSchedule"
},
Expand Down Expand Up @@ -17345,7 +17376,10 @@
},
"type": "object",
"required": [
"name"
"name",
"id",
"created",
"updated"
],
"title": "Flow",
"description": "An ORM representation of flow data."
Expand Down Expand Up @@ -18034,7 +18068,10 @@
},
"type": "object",
"required": [
"flow_id"
"flow_id",
"id",
"created",
"updated"
],
"title": "FlowRun",
"description": "An ORM representation of flow run data."
Expand Down Expand Up @@ -19069,7 +19106,10 @@
"required": [
"flow_run_id",
"key",
"value"
"value",
"id",
"created",
"updated"
],
"title": "FlowRunInput"
},
Expand Down Expand Up @@ -19152,7 +19192,10 @@
"required": [
"state_names",
"tags",
"block_document_id"
"block_document_id",
"id",
"created",
"updated"
],
"title": "FlowRunNotificationPolicy",
"description": "An ORM representation of a flow run notification."
Expand Down Expand Up @@ -19854,7 +19897,10 @@
},
"type": "object",
"required": [
"flow_id"
"flow_id",
"id",
"created",
"updated"
],
"title": "FlowRunResponse"
},
Expand Down Expand Up @@ -20036,7 +20082,10 @@
"required": [
"name",
"limit",
"active_slots"
"active_slots",
"id",
"created",
"updated"
],
"title": "GlobalConcurrencyLimitResponse",
"description": "A response object for global concurrency limits."
Expand Down Expand Up @@ -20411,7 +20460,10 @@
"name",
"level",
"message",
"timestamp"
"timestamp",
"id",
"created",
"updated"
],
"title": "Log",
"description": "An ORM representation of log data."
Expand Down Expand Up @@ -21428,7 +21480,10 @@
},
"type": "object",
"required": [
"name"
"name",
"id",
"created",
"updated"
],
"title": "SavedSearch",
"description": "An ORM representation of saved search data. Represents a set of filter criteria."
Expand Down Expand Up @@ -21783,7 +21838,8 @@
},
"type": "object",
"required": [
"type"
"type",
"id"
],
"title": "State",
"description": "Represents the state of a run."
Expand Down Expand Up @@ -22466,7 +22522,10 @@
"type": "object",
"required": [
"task_key",
"dynamic_key"
"dynamic_key",
"id",
"created",
"updated"
],
"title": "TaskRun",
"description": "An ORM representation of task run data."
Expand Down Expand Up @@ -23419,7 +23478,10 @@
"type": "object",
"required": [
"name",
"value"
"value",
"id",
"created",
"updated"
],
"title": "Variable"
},
Expand Down Expand Up @@ -23836,7 +23898,10 @@
"type": "object",
"required": [
"name",
"type"
"type",
"id",
"created",
"updated"
],
"title": "WorkPool",
"description": "An ORM representation of a work pool"
Expand Down Expand Up @@ -24196,7 +24261,10 @@
},
"type": "object",
"required": [
"name"
"name",
"id",
"created",
"updated"
],
"title": "WorkQueue",
"description": "An ORM representation of a work queue"
Expand Down Expand Up @@ -24556,7 +24624,10 @@
},
"type": "object",
"required": [
"name"
"name",
"id",
"created",
"updated"
],
"title": "WorkQueueResponse"
},
Expand Down Expand Up @@ -24892,7 +24963,10 @@
"type": "object",
"required": [
"name",
"work_pool_id"
"work_pool_id",
"id",
"created",
"updated"
],
"title": "WorkerResponse"
},
Expand Down
2 changes: 1 addition & 1 deletion docs/v3/deploy/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ The best choice depends on your use case.

### Static infrastructure

When you have several flows running regularly, [the `serve` method](/v3/develop/write-flows/#serving-a-flow)
When you have several flows running regularly, [the `serve` method](/v3/deploy/run-flows-in-local-processes#serve-a-flow)
of the `Flow` object or [the `serve` utility](/v3/develop/write-flows/#serving-multiple-flows-at-once)
is a great option for managing multiple flows simultaneously.

Expand Down
Loading

0 comments on commit 46bc222

Please sign in to comment.