Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,12 @@ def sync_detailed(

Promote matured pending schedule obligations (schedule_entry_due events whose period boundary has
passed) to 'classified', and — when dispatch_handlers=true (default) — draft their closing entries
in the same transaction. This is the on-demand form of the background obligation-promotion sweep;
run it before close-period when a schedule was just created or when you can't wait for the Dagster
sensor. Idempotent: re-running skips already-classified obligations and reconciles to existing
drafts.
in the same transaction. Also reaches stranded obligations: events already 'classified' (by an
earlier flip-only sweep) whose closing entry was never drafted are dispatched in the same pass, and
reported via stranded_count. This is the on-demand form of the background obligation-promotion
sweep; run it before close-period when a schedule was just created or when you can't wait for the
Dagster sensor. Idempotent: re-running skips already-classified obligations and reconciles to
existing drafts.

**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
Expand All @@ -137,7 +139,9 @@ def sync_detailed(
Flips matured ``pending`` ``schedule_entry_due`` events (period boundary
passed) to ``classified``; with ``dispatch_handlers`` it also drafts the
closing entries in the same transaction (idempotent — reconciles to an
existing draft).
existing draft). The sweep also reaches *stranded* obligations —
already ``classified`` (by an earlier flip-only sweep) but with no
closing entry ever drafted — dispatching them in the same pass.

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -171,10 +175,12 @@ def sync(

Promote matured pending schedule obligations (schedule_entry_due events whose period boundary has
passed) to 'classified', and — when dispatch_handlers=true (default) — draft their closing entries
in the same transaction. This is the on-demand form of the background obligation-promotion sweep;
run it before close-period when a schedule was just created or when you can't wait for the Dagster
sensor. Idempotent: re-running skips already-classified obligations and reconciles to existing
drafts.
in the same transaction. Also reaches stranded obligations: events already 'classified' (by an
earlier flip-only sweep) whose closing entry was never drafted are dispatched in the same pass, and
reported via stranded_count. This is the on-demand form of the background obligation-promotion
sweep; run it before close-period when a schedule was just created or when you can't wait for the
Dagster sensor. Idempotent: re-running skips already-classified obligations and reconciles to
existing drafts.

**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
Expand All @@ -191,7 +197,9 @@ def sync(
Flips matured ``pending`` ``schedule_entry_due`` events (period boundary
passed) to ``classified``; with ``dispatch_handlers`` it also drafts the
closing entries in the same transaction (idempotent — reconciles to an
existing draft).
existing draft). The sweep also reaches *stranded* obligations —
already ``classified`` (by an earlier flip-only sweep) but with no
closing entry ever drafted — dispatching them in the same pass.

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -220,10 +228,12 @@ async def asyncio_detailed(

Promote matured pending schedule obligations (schedule_entry_due events whose period boundary has
passed) to 'classified', and — when dispatch_handlers=true (default) — draft their closing entries
in the same transaction. This is the on-demand form of the background obligation-promotion sweep;
run it before close-period when a schedule was just created or when you can't wait for the Dagster
sensor. Idempotent: re-running skips already-classified obligations and reconciles to existing
drafts.
in the same transaction. Also reaches stranded obligations: events already 'classified' (by an
earlier flip-only sweep) whose closing entry was never drafted are dispatched in the same pass, and
reported via stranded_count. This is the on-demand form of the background obligation-promotion
sweep; run it before close-period when a schedule was just created or when you can't wait for the
Dagster sensor. Idempotent: re-running skips already-classified obligations and reconciles to
existing drafts.

**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
Expand All @@ -240,7 +250,9 @@ async def asyncio_detailed(
Flips matured ``pending`` ``schedule_entry_due`` events (period boundary
passed) to ``classified``; with ``dispatch_handlers`` it also drafts the
closing entries in the same transaction (idempotent — reconciles to an
existing draft).
existing draft). The sweep also reaches *stranded* obligations —
already ``classified`` (by an earlier flip-only sweep) but with no
closing entry ever drafted — dispatching them in the same pass.

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -272,10 +284,12 @@ async def asyncio(

Promote matured pending schedule obligations (schedule_entry_due events whose period boundary has
passed) to 'classified', and — when dispatch_handlers=true (default) — draft their closing entries
in the same transaction. This is the on-demand form of the background obligation-promotion sweep;
run it before close-period when a schedule was just created or when you can't wait for the Dagster
sensor. Idempotent: re-running skips already-classified obligations and reconciles to existing
drafts.
in the same transaction. Also reaches stranded obligations: events already 'classified' (by an
earlier flip-only sweep) whose closing entry was never drafted are dispatched in the same pass, and
reported via stranded_count. This is the on-demand form of the background obligation-promotion
sweep; run it before close-period when a schedule was just created or when you can't wait for the
Dagster sensor. Idempotent: re-running skips already-classified obligations and reconciles to
existing drafts.

**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
Expand All @@ -292,7 +306,9 @@ async def asyncio(
Flips matured ``pending`` ``schedule_entry_due`` events (period boundary
passed) to ``classified``; with ``dispatch_handlers`` it also drafts the
closing entries in the same transaction (idempotent — reconciles to an
existing draft).
existing draft). The sweep also reaches *stranded* obligations —
already ``classified`` (by an earlier flip-only sweep) but with no
closing entry ever drafted — dispatching them in the same pass.

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
229 changes: 0 additions & 229 deletions robosystems_client/api/operator/batch_process_queries.py

This file was deleted.

Loading