mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-26 11:12:50 +00:00
fix: remove warning imports
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
"""Balance Sheet Standard Model."""
|
||||
|
||||
import warnings
|
||||
from datetime import date as dateType
|
||||
from typing import Optional
|
||||
|
||||
@@ -12,8 +11,6 @@ from openbb_core.provider.utils.descriptions import (
|
||||
QUERY_DESCRIPTIONS,
|
||||
)
|
||||
|
||||
_warn = warnings.warn
|
||||
|
||||
|
||||
class BalanceSheetQueryParams(QueryParams):
|
||||
"""Balance Sheet Query."""
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
"""Cash Flow Statement Standard Model."""
|
||||
|
||||
import warnings
|
||||
from datetime import date as dateType
|
||||
from typing import Optional
|
||||
|
||||
@@ -10,8 +9,6 @@ from openbb_core.provider.abstract.data import Data
|
||||
from openbb_core.provider.abstract.query_params import QueryParams
|
||||
from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS
|
||||
|
||||
_warn = warnings.warn
|
||||
|
||||
|
||||
class CashFlowStatementQueryParams(QueryParams):
|
||||
"""Cash Flow Statement Query."""
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
"""Financial Ratios Standard Model."""
|
||||
|
||||
import warnings
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import Field, NonNegativeInt, field_validator
|
||||
@@ -12,8 +11,6 @@ from openbb_core.provider.utils.descriptions import (
|
||||
QUERY_DESCRIPTIONS,
|
||||
)
|
||||
|
||||
_warn = warnings.warn
|
||||
|
||||
|
||||
class FinancialRatiosQueryParams(QueryParams):
|
||||
"""Financial Ratios Query."""
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
"""Reported Financials."""
|
||||
|
||||
import warnings
|
||||
from datetime import date as dateType
|
||||
from typing import Optional
|
||||
|
||||
@@ -12,8 +11,6 @@ from openbb_core.provider.utils.descriptions import (
|
||||
QUERY_DESCRIPTIONS,
|
||||
)
|
||||
|
||||
_warn = warnings.warn
|
||||
|
||||
|
||||
class ReportedFinancialsQueryParams(QueryParams):
|
||||
"""Reported Financials Query Params."""
|
||||
|
||||
Reference in New Issue
Block a user