Skip to content

[AIRFLOW-263] Remove temp backtick file#1613

Closed
artwr wants to merge 1 commit into
apache:masterfrom
artwr:artwr_remove_backtick_file
Closed

[AIRFLOW-263] Remove temp backtick file#1613
artwr wants to merge 1 commit into
apache:masterfrom
artwr:artwr_remove_backtick_file

Conversation

@artwr
Copy link
Copy Markdown
Contributor

@artwr artwr commented Jun 20, 2016

Dear Airflow Maintainers,

Please accept this PR that addresses the following issues:

Testing Done:
Travis seems to be OK with this, aside from a spurious failure with SQLite

This removes the file erroneously introduced by the highcharts
refactor.

Solves AIRFLOW-263

This removes the file erroneously introduced by the highcharts
refactor.

Solves AIRFLOW-263
@codecov-io
Copy link
Copy Markdown

codecov-io commented Jun 21, 2016

Current coverage is 64.03%

Merging #1613 into master will decrease coverage by 0.01%

@@             master      #1613   diff @@
==========================================
  Files           120        120          
  Lines          8412       8412          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits           5388       5387     -1   
- Misses         3024       3025     +1   
  Partials          0          0          

Powered by Codecov. Last updated by 45b735b...c2ed818

@bolkedebruin
Copy link
Copy Markdown
Contributor

Thanks. I know why I missed it, I mistakenly took it for another file when reviewing.

@asfgit asfgit closed this in f4c4414 Jun 21, 2016
pierrejeambrun added a commit to astronomer/airflow that referenced this pull request Apr 9, 2026
ponse to avoid oneOf codegen issues

  Replace the discriminated union (offset | cursor response types) with
  a single flat model using optional fields. OpenAPI oneOf + discriminator
  is not handled correctly by hey-api/openapi-ts (apache#1613, apache#3270): return
  types degrade to unknown in generated TypeScript code.
pierrejeambrun added a commit that referenced this pull request Apr 16, 2026
* Add cursor-based pagination to get_task_instances endpoint

- Add cursor-based (keyset) pagination as an alternative to offset-based
  pagination on the get_task_instances endpoint. Offset pagination remains
  the default and is not deprecated globally.
- Response uses a discriminated union: offset responses include
  total_entries, cursor responses include next_cursor and previous_cursor.
- Refactor SortParam to lazily cache column resolution instead of
  mutating state in to_orm.
- Move cursor helpers (encode/decode/apply) to dedicated
  common/db/cursors.py module.
- Cleanly separate cursor vs offset code paths in the endpoint handler.

* Simplify cursor token and support first page without sentinel

- Remove order_by from cursor token (now just a list of values)
- Support empty string cursor for first page (no fake sentinel needed)
- Drop order_by consistency check between cursor and query param

* Small adjustments

* Adjustments

* Narrow endpoint return types and encode cursor value types

Encode type information directly into cursor tokens as
{"type": ..., "value": ...} objects, removing the fragile
column-based type guessing during deserialization.

Narrow return types for endpoints that only return offset
pagination (patch, clear, batch, mapped) so the OpenAPI spec
and generated UI client reflect the correct types. Only
get_task_instances retains the discriminated union response.

Update UI components to use the narrowed types from the spec.

* Use msgpack for cursor tokens and nested keyset predicate

Switch cursor encoding from typed JSON to msgpack for compactness.
Replace flat OR-of-prefix-equalities with nested and/or keyset
predicate for better composite index range scans. Always use
ascending PK as the final tie-breaker for stable pagination.

* Flatten TaskInstanceCollectionRes
ponse to avoid oneOf codegen issues

  Replace the discriminated union (offset | cursor response types) with
  a single flat model using optional fields. OpenAPI oneOf + discriminator
  is not handled correctly by hey-api/openapi-ts (#1613, #3270): return
  types degrade to unknown in generated TypeScript code.

* Fix UI

* Fix CI

* Fix cursor pagination boundary detection and error handling

- Fetch limit+1 rows to accurately detect last page, returning
  next_cursor=null when no more results exist
- Return previous_cursor=null on the first page (when no cursor
  was provided)
- Use LimitFilter in apply_filters_to_select for the +1 limit
  instead of a manual .limit() call
- Raise HTTP 400 on invalid UUID in cursor token instead of
  silently passing the invalid value
- Update endpoint docs and add boundary-condition test

* Fix backward cursor based pagination
pierrejeambrun added a commit to astronomer/airflow that referenced this pull request Apr 17, 2026
…4845)

* Add cursor-based pagination to get_task_instances endpoint

- Add cursor-based (keyset) pagination as an alternative to offset-based
  pagination on the get_task_instances endpoint. Offset pagination remains
  the default and is not deprecated globally.
- Response uses a discriminated union: offset responses include
  total_entries, cursor responses include next_cursor and previous_cursor.
- Refactor SortParam to lazily cache column resolution instead of
  mutating state in to_orm.
- Move cursor helpers (encode/decode/apply) to dedicated
  common/db/cursors.py module.
- Cleanly separate cursor vs offset code paths in the endpoint handler.

* Simplify cursor token and support first page without sentinel

- Remove order_by from cursor token (now just a list of values)
- Support empty string cursor for first page (no fake sentinel needed)
- Drop order_by consistency check between cursor and query param

* Small adjustments

* Adjustments

* Narrow endpoint return types and encode cursor value types

Encode type information directly into cursor tokens as
{"type": ..., "value": ...} objects, removing the fragile
column-based type guessing during deserialization.

Narrow return types for endpoints that only return offset
pagination (patch, clear, batch, mapped) so the OpenAPI spec
and generated UI client reflect the correct types. Only
get_task_instances retains the discriminated union response.

Update UI components to use the narrowed types from the spec.

* Use msgpack for cursor tokens and nested keyset predicate

Switch cursor encoding from typed JSON to msgpack for compactness.
Replace flat OR-of-prefix-equalities with nested and/or keyset
predicate for better composite index range scans. Always use
ascending PK as the final tie-breaker for stable pagination.

* Flatten TaskInstanceCollectionRes
ponse to avoid oneOf codegen issues

  Replace the discriminated union (offset | cursor response types) with
  a single flat model using optional fields. OpenAPI oneOf + discriminator
  is not handled correctly by hey-api/openapi-ts (apache#1613, apache#3270): return
  types degrade to unknown in generated TypeScript code.

* Fix UI

* Fix CI

* Fix cursor pagination boundary detection and error handling

- Fetch limit+1 rows to accurately detect last page, returning
  next_cursor=null when no more results exist
- Return previous_cursor=null on the first page (when no cursor
  was provided)
- Use LimitFilter in apply_filters_to_select for the +1 limit
  instead of a manual .limit() call
- Raise HTTP 400 on invalid UUID in cursor token instead of
  silently passing the invalid value
- Update endpoint docs and add boundary-condition test

* Fix backward cursor based pagination

(cherry picked from commit e11c603)
pierrejeambrun added a commit to astronomer/airflow that referenced this pull request Apr 20, 2026
…4845)

* Add cursor-based pagination to get_task_instances endpoint

- Add cursor-based (keyset) pagination as an alternative to offset-based
  pagination on the get_task_instances endpoint. Offset pagination remains
  the default and is not deprecated globally.
- Response uses a discriminated union: offset responses include
  total_entries, cursor responses include next_cursor and previous_cursor.
- Refactor SortParam to lazily cache column resolution instead of
  mutating state in to_orm.
- Move cursor helpers (encode/decode/apply) to dedicated
  common/db/cursors.py module.
- Cleanly separate cursor vs offset code paths in the endpoint handler.

* Simplify cursor token and support first page without sentinel

- Remove order_by from cursor token (now just a list of values)
- Support empty string cursor for first page (no fake sentinel needed)
- Drop order_by consistency check between cursor and query param

* Small adjustments

* Adjustments

* Narrow endpoint return types and encode cursor value types

Encode type information directly into cursor tokens as
{"type": ..., "value": ...} objects, removing the fragile
column-based type guessing during deserialization.

Narrow return types for endpoints that only return offset
pagination (patch, clear, batch, mapped) so the OpenAPI spec
and generated UI client reflect the correct types. Only
get_task_instances retains the discriminated union response.

Update UI components to use the narrowed types from the spec.

* Use msgpack for cursor tokens and nested keyset predicate

Switch cursor encoding from typed JSON to msgpack for compactness.
Replace flat OR-of-prefix-equalities with nested and/or keyset
predicate for better composite index range scans. Always use
ascending PK as the final tie-breaker for stable pagination.

* Flatten TaskInstanceCollectionRes
ponse to avoid oneOf codegen issues

  Replace the discriminated union (offset | cursor response types) with
  a single flat model using optional fields. OpenAPI oneOf + discriminator
  is not handled correctly by hey-api/openapi-ts (apache#1613, apache#3270): return
  types degrade to unknown in generated TypeScript code.

* Fix UI

* Fix CI

* Fix cursor pagination boundary detection and error handling

- Fetch limit+1 rows to accurately detect last page, returning
  next_cursor=null when no more results exist
- Return previous_cursor=null on the first page (when no cursor
  was provided)
- Use LimitFilter in apply_filters_to_select for the +1 limit
  instead of a manual .limit() call
- Raise HTTP 400 on invalid UUID in cursor token instead of
  silently passing the invalid value
- Update endpoint docs and add boundary-condition test

* Fix backward cursor based pagination

(cherry picked from commit e11c603)
pierrejeambrun added a commit that referenced this pull request Apr 20, 2026
…65405)

* Add cursor-based pagination to get_task_instances endpoint

- Add cursor-based (keyset) pagination as an alternative to offset-based
  pagination on the get_task_instances endpoint. Offset pagination remains
  the default and is not deprecated globally.
- Response uses a discriminated union: offset responses include
  total_entries, cursor responses include next_cursor and previous_cursor.
- Refactor SortParam to lazily cache column resolution instead of
  mutating state in to_orm.
- Move cursor helpers (encode/decode/apply) to dedicated
  common/db/cursors.py module.
- Cleanly separate cursor vs offset code paths in the endpoint handler.

* Simplify cursor token and support first page without sentinel

- Remove order_by from cursor token (now just a list of values)
- Support empty string cursor for first page (no fake sentinel needed)
- Drop order_by consistency check between cursor and query param

* Small adjustments

* Adjustments

* Narrow endpoint return types and encode cursor value types

Encode type information directly into cursor tokens as
{"type": ..., "value": ...} objects, removing the fragile
column-based type guessing during deserialization.

Narrow return types for endpoints that only return offset
pagination (patch, clear, batch, mapped) so the OpenAPI spec
and generated UI client reflect the correct types. Only
get_task_instances retains the discriminated union response.

Update UI components to use the narrowed types from the spec.

* Use msgpack for cursor tokens and nested keyset predicate

Switch cursor encoding from typed JSON to msgpack for compactness.
Replace flat OR-of-prefix-equalities with nested and/or keyset
predicate for better composite index range scans. Always use
ascending PK as the final tie-breaker for stable pagination.

* Flatten TaskInstanceCollectionRes
ponse to avoid oneOf codegen issues

  Replace the discriminated union (offset | cursor response types) with
  a single flat model using optional fields. OpenAPI oneOf + discriminator
  is not handled correctly by hey-api/openapi-ts (#1613, #3270): return
  types degrade to unknown in generated TypeScript code.

* Fix UI

* Fix CI

* Fix cursor pagination boundary detection and error handling

- Fetch limit+1 rows to accurately detect last page, returning
  next_cursor=null when no more results exist
- Return previous_cursor=null on the first page (when no cursor
  was provided)
- Use LimitFilter in apply_filters_to_select for the +1 limit
  instead of a manual .limit() call
- Raise HTTP 400 on invalid UUID in cursor token instead of
  silently passing the invalid value
- Update endpoint docs and add boundary-condition test

* Fix backward cursor based pagination

(cherry picked from commit e11c603)
vatsrahul1001 pushed a commit that referenced this pull request Apr 23, 2026
…65405)

* Add cursor-based pagination to get_task_instances endpoint

- Add cursor-based (keyset) pagination as an alternative to offset-based
  pagination on the get_task_instances endpoint. Offset pagination remains
  the default and is not deprecated globally.
- Response uses a discriminated union: offset responses include
  total_entries, cursor responses include next_cursor and previous_cursor.
- Refactor SortParam to lazily cache column resolution instead of
  mutating state in to_orm.
- Move cursor helpers (encode/decode/apply) to dedicated
  common/db/cursors.py module.
- Cleanly separate cursor vs offset code paths in the endpoint handler.

* Simplify cursor token and support first page without sentinel

- Remove order_by from cursor token (now just a list of values)
- Support empty string cursor for first page (no fake sentinel needed)
- Drop order_by consistency check between cursor and query param

* Small adjustments

* Adjustments

* Narrow endpoint return types and encode cursor value types

Encode type information directly into cursor tokens as
{"type": ..., "value": ...} objects, removing the fragile
column-based type guessing during deserialization.

Narrow return types for endpoints that only return offset
pagination (patch, clear, batch, mapped) so the OpenAPI spec
and generated UI client reflect the correct types. Only
get_task_instances retains the discriminated union response.

Update UI components to use the narrowed types from the spec.

* Use msgpack for cursor tokens and nested keyset predicate

Switch cursor encoding from typed JSON to msgpack for compactness.
Replace flat OR-of-prefix-equalities with nested and/or keyset
predicate for better composite index range scans. Always use
ascending PK as the final tie-breaker for stable pagination.

* Flatten TaskInstanceCollectionRes
ponse to avoid oneOf codegen issues

  Replace the discriminated union (offset | cursor response types) with
  a single flat model using optional fields. OpenAPI oneOf + discriminator
  is not handled correctly by hey-api/openapi-ts (#1613, #3270): return
  types degrade to unknown in generated TypeScript code.

* Fix UI

* Fix CI

* Fix cursor pagination boundary detection and error handling

- Fetch limit+1 rows to accurately detect last page, returning
  next_cursor=null when no more results exist
- Return previous_cursor=null on the first page (when no cursor
  was provided)
- Use LimitFilter in apply_filters_to_select for the +1 limit
  instead of a manual .limit() call
- Raise HTTP 400 on invalid UUID in cursor token instead of
  silently passing the invalid value
- Update endpoint docs and add boundary-condition test

* Fix backward cursor based pagination

(cherry picked from commit e11c603)
vatsrahul1001 pushed a commit that referenced this pull request Apr 27, 2026
…65405)

* Add cursor-based pagination to get_task_instances endpoint

- Add cursor-based (keyset) pagination as an alternative to offset-based
  pagination on the get_task_instances endpoint. Offset pagination remains
  the default and is not deprecated globally.
- Response uses a discriminated union: offset responses include
  total_entries, cursor responses include next_cursor and previous_cursor.
- Refactor SortParam to lazily cache column resolution instead of
  mutating state in to_orm.
- Move cursor helpers (encode/decode/apply) to dedicated
  common/db/cursors.py module.
- Cleanly separate cursor vs offset code paths in the endpoint handler.

* Simplify cursor token and support first page without sentinel

- Remove order_by from cursor token (now just a list of values)
- Support empty string cursor for first page (no fake sentinel needed)
- Drop order_by consistency check between cursor and query param

* Small adjustments

* Adjustments

* Narrow endpoint return types and encode cursor value types

Encode type information directly into cursor tokens as
{"type": ..., "value": ...} objects, removing the fragile
column-based type guessing during deserialization.

Narrow return types for endpoints that only return offset
pagination (patch, clear, batch, mapped) so the OpenAPI spec
and generated UI client reflect the correct types. Only
get_task_instances retains the discriminated union response.

Update UI components to use the narrowed types from the spec.

* Use msgpack for cursor tokens and nested keyset predicate

Switch cursor encoding from typed JSON to msgpack for compactness.
Replace flat OR-of-prefix-equalities with nested and/or keyset
predicate for better composite index range scans. Always use
ascending PK as the final tie-breaker for stable pagination.

* Flatten TaskInstanceCollectionRes
ponse to avoid oneOf codegen issues

  Replace the discriminated union (offset | cursor response types) with
  a single flat model using optional fields. OpenAPI oneOf + discriminator
  is not handled correctly by hey-api/openapi-ts (#1613, #3270): return
  types degrade to unknown in generated TypeScript code.

* Fix UI

* Fix CI

* Fix cursor pagination boundary detection and error handling

- Fetch limit+1 rows to accurately detect last page, returning
  next_cursor=null when no more results exist
- Return previous_cursor=null on the first page (when no cursor
  was provided)
- Use LimitFilter in apply_filters_to_select for the +1 limit
  instead of a manual .limit() call
- Raise HTTP 400 on invalid UUID in cursor token instead of
  silently passing the invalid value
- Update endpoint docs and add boundary-condition test

* Fix backward cursor based pagination

(cherry picked from commit e11c603)
vatsrahul1001 pushed a commit that referenced this pull request May 20, 2026
…65405)

* Add cursor-based pagination to get_task_instances endpoint

- Add cursor-based (keyset) pagination as an alternative to offset-based
  pagination on the get_task_instances endpoint. Offset pagination remains
  the default and is not deprecated globally.
- Response uses a discriminated union: offset responses include
  total_entries, cursor responses include next_cursor and previous_cursor.
- Refactor SortParam to lazily cache column resolution instead of
  mutating state in to_orm.
- Move cursor helpers (encode/decode/apply) to dedicated
  common/db/cursors.py module.
- Cleanly separate cursor vs offset code paths in the endpoint handler.

* Simplify cursor token and support first page without sentinel

- Remove order_by from cursor token (now just a list of values)
- Support empty string cursor for first page (no fake sentinel needed)
- Drop order_by consistency check between cursor and query param

* Small adjustments

* Adjustments

* Narrow endpoint return types and encode cursor value types

Encode type information directly into cursor tokens as
{"type": ..., "value": ...} objects, removing the fragile
column-based type guessing during deserialization.

Narrow return types for endpoints that only return offset
pagination (patch, clear, batch, mapped) so the OpenAPI spec
and generated UI client reflect the correct types. Only
get_task_instances retains the discriminated union response.

Update UI components to use the narrowed types from the spec.

* Use msgpack for cursor tokens and nested keyset predicate

Switch cursor encoding from typed JSON to msgpack for compactness.
Replace flat OR-of-prefix-equalities with nested and/or keyset
predicate for better composite index range scans. Always use
ascending PK as the final tie-breaker for stable pagination.

* Flatten TaskInstanceCollectionRes
ponse to avoid oneOf codegen issues

  Replace the discriminated union (offset | cursor response types) with
  a single flat model using optional fields. OpenAPI oneOf + discriminator
  is not handled correctly by hey-api/openapi-ts (#1613, #3270): return
  types degrade to unknown in generated TypeScript code.

* Fix UI

* Fix CI

* Fix cursor pagination boundary detection and error handling

- Fetch limit+1 rows to accurately detect last page, returning
  next_cursor=null when no more results exist
- Return previous_cursor=null on the first page (when no cursor
  was provided)
- Use LimitFilter in apply_filters_to_select for the +1 limit
  instead of a manual .limit() call
- Raise HTTP 400 on invalid UUID in cursor token instead of
  silently passing the invalid value
- Update endpoint docs and add boundary-condition test

* Fix backward cursor based pagination

(cherry picked from commit e11c603)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants