2022-02-26 09:35:58 +00:00
|
|
|
import typing as t
|
|
|
|
|
2022-02-27 07:43:50 +00:00
|
|
|
from pathlib import Path
|
2022-02-26 09:35:58 +00:00
|
|
|
|
|
|
|
from .client import PipedClient
|
|
|
|
from .models.comments import Comments
|
|
|
|
|
|
|
|
|
2022-02-27 07:43:50 +00:00
|
|
|
|
|
|
|
# For pdoc:
|
2022-02-27 07:50:47 +00:00
|
|
|
README_PATH = Path(__file__).parent.parent.absolute() / Path('README.md')
|
2022-02-27 07:43:50 +00:00
|
|
|
try:
|
|
|
|
with open(README_PATH, 'r', encoding="UTF-8") as readme:
|
|
|
|
__readme__ = readme.read()
|
|
|
|
|
|
|
|
except:
|
|
|
|
__readme__ = "Failed to read README.md!"
|
|
|
|
|
|
|
|
__doc__ = __readme__
|
|
|
|
|
2022-02-27 07:40:58 +00:00
|
|
|
|
2022-02-26 09:35:58 +00:00
|
|
|
|
|
|
|
# Supress unused-import warnings:
|
|
|
|
if t.TYPE_CHECKING:
|
|
|
|
_ = [PipedClient, Comments]
|