From cd6e10ae25df5e24aaac2abd5a20ebe0789c79ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Rami=CC=81rez=20Mondrago=CC=81n?= Date: Thu, 9 Mar 2023 09:23:41 -0600 Subject: [PATCH] docs: Fix imports in pagination guide --- docs/guides/pagination-classes.md | 4 ++-- poetry.lock | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/guides/pagination-classes.md b/docs/guides/pagination-classes.md index be43a785f..a1b017f96 100644 --- a/docs/guides/pagination-classes.md +++ b/docs/guides/pagination-classes.md @@ -50,7 +50,7 @@ class MyStream(RESTStream): ```python # New implementation -from singer_sdk.paginators import BaseHATEOASPaginator +from singer_sdk.pagination import BaseHATEOASPaginator class MyPaginator(BaseHATEOASPaginator): def get_next_url(self, response, previous_token): @@ -81,7 +81,7 @@ class can be used to handle this pattern. ```python # New implementation -from singer_sdk.paginators import BaseOffsetPaginator +from singer_sdk.pagination import BaseOffsetPaginator class MyPaginator(BaseOffsetPaginator): def has_more(self, response): diff --git a/poetry.lock b/poetry.lock index e92efc248..cbf89f442 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry and should not be changed by hand. +# This file is automatically @generated by Poetry 1.4.0 and should not be changed by hand. [[package]] name = "alabaster" @@ -2327,7 +2327,7 @@ files = [ ] [package.dependencies] -greenlet = {version = "!=0.4.17", markers = "python_version >= \"3\" and (platform_machine == \"aarch64\" or platform_machine == \"ppc64le\" or platform_machine == \"x86_64\" or platform_machine == \"amd64\" or platform_machine == \"AMD64\" or platform_machine == \"win32\" or platform_machine == \"WIN32\")"} +greenlet = {version = "!=0.4.17", markers = "python_version >= \"3\" and platform_machine == \"aarch64\" or python_version >= \"3\" and platform_machine == \"ppc64le\" or python_version >= \"3\" and platform_machine == \"x86_64\" or python_version >= \"3\" and platform_machine == \"amd64\" or python_version >= \"3\" and platform_machine == \"AMD64\" or python_version >= \"3\" and platform_machine == \"win32\" or python_version >= \"3\" and platform_machine == \"WIN32\""} importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} [package.extras] @@ -2680,7 +2680,7 @@ docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)"] [extras] -docs = ["sphinx", "furo", "sphinx-copybutton", "myst-parser", "sphinx-autobuild", "sphinx-reredirects"] +docs = ["furo", "myst-parser", "sphinx", "sphinx-autobuild", "sphinx-copybutton", "sphinx-reredirects"] s3 = ["fs-s3fs"] testing = ["pytest", "pytest-durations"]