-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(taps): Implement reference paginators (#732)
* feat: Implement paginators * docs: Add documentation for new implementation * Update singer_sdk/pagination.py * Update docs/porting.md Co-authored-by: Aaron ("AJ") Steers <aj@meltano.com> * Make linter happy * Make pre-commit happy * Use args and kwargs for base class * Full coverage for new code * Remove commented type var Co-authored-by: Aaron ("AJ") Steers <aj@meltano.com>
- Loading branch information
1 parent
e84036b
commit 16751ee
Showing
18 changed files
with
1,015 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
singer_sdk.pagination.BaseAPIPaginator | ||
====================================== | ||
|
||
.. currentmodule:: singer_sdk.pagination | ||
|
||
.. autoclass:: BaseAPIPaginator | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
singer_sdk.pagination.BaseHATEOASPaginator | ||
========================================== | ||
|
||
.. currentmodule:: singer_sdk.pagination | ||
|
||
.. autoclass:: BaseHATEOASPaginator | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
singer_sdk.pagination.BaseOffsetPaginator | ||
========================================= | ||
|
||
.. currentmodule:: singer_sdk.pagination | ||
|
||
.. autoclass:: BaseOffsetPaginator | ||
:members: |
7 changes: 7 additions & 0 deletions
7
docs/classes/singer_sdk.pagination.BasePageNumberPaginator.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
singer_sdk.pagination.BasePageNumberPaginator | ||
============================================= | ||
|
||
.. currentmodule:: singer_sdk.pagination | ||
|
||
.. autoclass:: BasePageNumberPaginator | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
singer_sdk.pagination.HeaderLinkPaginator | ||
========================================= | ||
|
||
.. currentmodule:: singer_sdk.pagination | ||
|
||
.. autoclass:: HeaderLinkPaginator | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
singer_sdk.pagination.JSONPathPaginator | ||
======================================= | ||
|
||
.. currentmodule:: singer_sdk.pagination | ||
|
||
.. autoclass:: JSONPathPaginator | ||
:members: |
7 changes: 7 additions & 0 deletions
7
docs/classes/singer_sdk.pagination.LegacyPaginatedStreamProtocol.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
singer_sdk.pagination.LegacyPaginatedStreamProtocol | ||
=================================================== | ||
|
||
.. currentmodule:: singer_sdk.pagination | ||
|
||
.. autoclass:: LegacyPaginatedStreamProtocol | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
singer_sdk.pagination.LegacyStreamPaginator | ||
=========================================== | ||
|
||
.. currentmodule:: singer_sdk.pagination | ||
|
||
.. autoclass:: LegacyStreamPaginator | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
singer_sdk.pagination.SimpleHeaderPaginator | ||
=========================================== | ||
|
||
.. currentmodule:: singer_sdk.pagination | ||
|
||
.. autoclass:: SimpleHeaderPaginator | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
singer_sdk.pagination.SinglePagePaginator | ||
========================================= | ||
|
||
.. currentmodule:: singer_sdk.pagination | ||
|
||
.. autoclass:: SinglePagePaginator | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.