Skip to content

Commit

Permalink
remove backports cached property if we're on 3.8+ now
Browse files Browse the repository at this point in the history
  • Loading branch information
menzenski committed Feb 16, 2024
1 parent c4335e5 commit b0e253a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
14 changes: 1 addition & 13 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ python = "<3.12,>=3.8"
singer-sdk = { version = "^0.35.0" }
fs-s3fs = { version = "^1.1.1", optional = true }
pymongo = "^4.4.1"
"backports.cached-property" = { version = "^1.0.2" }
strenum = "^0.4.15"
typing-extensions = {version = "^4.9.0", python = "<3.10"}

Expand Down
7 changes: 1 addition & 6 deletions tap_mongodb/tap.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from __future__ import annotations

import json
import sys
from functools import cached_property
from typing import Any
from urllib.parse import quote_plus

Expand All @@ -13,11 +13,6 @@
from tap_mongodb.connector import MongoDBConnector
from tap_mongodb.streams import MongoDBCollectionStream

if sys.version_info[:2] >= (3, 7):
from backports.cached_property import cached_property
else:
from functools import cached_property


class TapMongoDB(Tap):
"""mongodb tap class."""
Expand Down

0 comments on commit b0e253a

Please sign in to comment.