Update stubs

This commit is contained in:
Trinh Anh Ngoc
2024-10-29 14:29:26 +07:00
parent c39c364a9c
commit 81c51a26cd
2 changed files with 2 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ regex_object_name: Pattern[str]
regex_pg_name: Pattern[str] regex_pg_name: Pattern[str]
regex_field_agg: Pattern[str] regex_field_agg: Pattern[str]
AUTOINIT_RECALCULATE_STORED_FIELDS: int AUTOINIT_RECALCULATE_STORED_FIELDS: int
GC_UNLINK_LIMIT: int
INSERT_BATCH_SIZE: int INSERT_BATCH_SIZE: int
SQL_DEFAULT: psycopg2.extensions.AsIs SQL_DEFAULT: psycopg2.extensions.AsIs

View File

@@ -33,6 +33,7 @@ def validate_url(url: str) -> str: ...
def is_html_empty(html_content: str) -> bool: ... def is_html_empty(html_content: str) -> bool: ...
def html_keep_url(text: str) -> str: ... def html_keep_url(text: str) -> str: ...
def html_to_inner_content(html: str) -> str: ... def html_to_inner_content(html: str) -> str: ...
def create_link(url: str, label: str) -> str: ...
def html2plaintext( def html2plaintext(
html: str, body_id: str | None = ..., encoding: str = ... html: str, body_id: str | None = ..., encoding: str = ...
) -> str: ... ) -> str: ...