Remove lru_cache so tests clear
All checks were successful
Test and build Docker image / docker (push) Successful in 27s
All checks were successful
Test and build Docker image / docker (push) Successful in 27s
This commit is contained in:
parent
b610d7ef1a
commit
dc17850475
1 changed files with 0 additions and 2 deletions
|
|
@ -5,7 +5,6 @@ import json
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from functools import lru_cache
|
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
|
|
@ -194,7 +193,6 @@ def replace_tags_in_text_message(entry: Entry, reader: Reader) -> str:
|
||||||
return custom_message.replace("\\n", "\n")
|
return custom_message.replace("\\n", "\n")
|
||||||
|
|
||||||
|
|
||||||
@lru_cache(200)
|
|
||||||
def get_first_image(summary: str | None, content: str | None) -> str: # noqa: C901
|
def get_first_image(summary: str | None, content: str | None) -> str: # noqa: C901
|
||||||
"""Get image from summary or content.
|
"""Get image from summary or content.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue