Skip to content

Commit

Permalink
Removed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
satcfdi committed Jul 19, 2024
1 parent 25883ce commit ffc5639
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion satcfdi/csf/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
import warnings
from datetime import datetime

import requests
from bs4 import BeautifulSoup
from bs4 import BeautifulSoup, XMLParsedAsHTMLWarning

from .. import __version__
from ..catalogs import select_all
from ..exceptions import ResponseError
from ..models import Code
from ..sat_requests_utils import SSLAdapter

warnings.filterwarnings("ignore", category=XMLParsedAsHTMLWarning)


def retrieve(rfc: str, id_cif: str):
data = _request_constancia(rfc, id_cif)
Expand Down

0 comments on commit ffc5639

Please sign in to comment.