From ba420d68e775f70f649de00c0da1b2cf6c65722d Mon Sep 17 00:00:00 2001 From: Alexandre Girard Date: Wed, 15 May 2024 20:09:45 -0700 Subject: [PATCH] Replace AirbyteLogger with logging.Logger --- airbyte-integrations/connectors/source-notion/metadata.yaml | 2 +- airbyte-integrations/connectors/source-notion/pyproject.toml | 2 +- .../connectors/source-notion/source_notion/streams.py | 2 +- docs/integrations/sources/notion.md | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/airbyte-integrations/connectors/source-notion/metadata.yaml b/airbyte-integrations/connectors/source-notion/metadata.yaml index ce89f39e4ea39..4e62541aabb05 100644 --- a/airbyte-integrations/connectors/source-notion/metadata.yaml +++ b/airbyte-integrations/connectors/source-notion/metadata.yaml @@ -10,7 +10,7 @@ data: connectorSubtype: api connectorType: source definitionId: 6e00b415-b02e-4160-bf02-58176a0ae687 - dockerImageTag: 3.0.1 + dockerImageTag: 3.0.2 dockerRepository: airbyte/source-notion documentationUrl: https://docs.airbyte.com/integrations/sources/notion githubIssueLabel: source-notion diff --git a/airbyte-integrations/connectors/source-notion/pyproject.toml b/airbyte-integrations/connectors/source-notion/pyproject.toml index f761d27359b7c..e3ca4cbb0a7b4 100644 --- a/airbyte-integrations/connectors/source-notion/pyproject.toml +++ b/airbyte-integrations/connectors/source-notion/pyproject.toml @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",] build-backend = "poetry.core.masonry.api" [tool.poetry] -version = "3.0.1" +version = "3.0.2" name = "source-notion" description = "Source implementation for Notion." authors = [ "Airbyte ",] diff --git a/airbyte-integrations/connectors/source-notion/source_notion/streams.py b/airbyte-integrations/connectors/source-notion/source_notion/streams.py index 0a0acb310a826..146b3d0c36911 100644 --- a/airbyte-integrations/connectors/source-notion/source_notion/streams.py +++ b/airbyte-integrations/connectors/source-notion/source_notion/streams.py @@ -2,13 +2,13 @@ # Copyright (c) 2023 Airbyte, Inc., all rights reserved. # +import logging as Logger from abc import ABC from typing import Any, Dict, Iterable, List, Mapping, MutableMapping, Optional, TypeVar import pendulum import pydantic import requests -from airbyte_cdk.logger import AirbyteLogger as Logger from airbyte_cdk.models import SyncMode from airbyte_cdk.sources import Source from airbyte_cdk.sources.streams import Stream diff --git a/docs/integrations/sources/notion.md b/docs/integrations/sources/notion.md index b58bd7a0032ca..31a8ea4ddb1ea 100644 --- a/docs/integrations/sources/notion.md +++ b/docs/integrations/sources/notion.md @@ -116,7 +116,8 @@ The connector is restricted by Notion [request limits](https://developers.notion | Version | Date | Pull Request | Subject | | :------ | :--------- | :------------------------------------------------------- | :--------------------------------------------------------------------------------------------------- | -| 3.0.1 | 2024-04-24 | [36653](https://github.com/airbytehq/airbyte/pull/36653) | Schema descriptions and CDK 0.80.0 | +| 3.0.2 | 2024-05-15 | [0](https://github.com/airbytehq/airbyte/pull/0) | Replace AirbyteLogger with logging.Logger | +| 3.0.1 | 2024-04-24 | [36653](https://github.com/airbytehq/airbyte/pull/36653) | Schema descriptions and CDK 0.80.0 | | 3.0.0 | 2024-04-12 | [35794](https://github.com/airbytehq/airbyte/pull/35974) | Migrate to low-code CDK (python CDK for Blocks stream) | | 2.2.0 | 2024-04-08 | [36890](https://github.com/airbytehq/airbyte/pull/36890) | Unpin CDK version | | 2.1.0 | 2024-02-19 | [35409](https://github.com/airbytehq/airbyte/pull/35409) | Update users stream schema with bot type info fields and block schema with mention type info fields. |