mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-02 15:32:04 +00:00
ruff & black
This commit is contained in:
@@ -9,11 +9,10 @@ from openbb_provider.models.major_indices_constituents import (
|
||||
MajorIndicesConstituentsData,
|
||||
MajorIndicesConstituentsQueryParams,
|
||||
)
|
||||
from pydantic import validator
|
||||
|
||||
from openbb_fmp.utils.helpers import get_data_many
|
||||
|
||||
from pydantic import validator
|
||||
|
||||
|
||||
class FMPMajorIndicesConstituentsQueryParams(MajorIndicesConstituentsQueryParams):
|
||||
"""FMP Major Indices Constituents query.
|
||||
|
||||
@@ -5,8 +5,8 @@ from datetime import datetime
|
||||
from typing import Any, Dict, List, Optional
|
||||
|
||||
from openbb_provider.abstract.fetcher import Fetcher
|
||||
from openbb_provider.helpers import get_querystring
|
||||
from openbb_provider.descriptions import DATA_DESCRIPTIONS
|
||||
from openbb_provider.helpers import get_querystring
|
||||
from openbb_provider.models.major_indices_eod import (
|
||||
MajorIndicesEODData,
|
||||
MajorIndicesEODQueryParams,
|
||||
|
||||
@@ -6,11 +6,10 @@ from typing import Any, Dict, List, Optional
|
||||
|
||||
from openbb_provider.abstract.fetcher import Fetcher
|
||||
from openbb_provider.models.price_target import PriceTargetData, PriceTargetQueryParams
|
||||
from pydantic import validator
|
||||
|
||||
from openbb_fmp.utils.helpers import create_url, get_data_many
|
||||
|
||||
from pydantic import validator
|
||||
|
||||
|
||||
class FMPPriceTargetQueryParams(PriceTargetQueryParams):
|
||||
"""FMP Price Target Query.
|
||||
|
||||
@@ -9,11 +9,10 @@ from openbb_provider.models.revenue_business_line import (
|
||||
RevenueBusinessLineData,
|
||||
RevenueBusinessLineQueryParams,
|
||||
)
|
||||
from pydantic import validator
|
||||
|
||||
from openbb_fmp.utils.helpers import create_url, get_data
|
||||
|
||||
from pydantic import validator
|
||||
|
||||
|
||||
class FMPRevenueBusinessLineQueryParams(RevenueBusinessLineQueryParams):
|
||||
"""FMP Revenue Business Line Query.
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
from datetime import date
|
||||
from typing import Literal, Optional, Union
|
||||
|
||||
from pydantic import Field
|
||||
|
||||
from openbb_provider.abstract.data import Data
|
||||
from openbb_provider.abstract.query_params import QueryParams
|
||||
from openbb_provider.models.base import BaseSymbol
|
||||
|
||||
from pydantic import Field
|
||||
|
||||
|
||||
class MajorIndicesConstituentsQueryParams(QueryParams):
|
||||
"""Major Indices Constituents Query."""
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
from datetime import datetime
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import Field
|
||||
|
||||
from openbb_provider.abstract.data import Data
|
||||
from openbb_provider.abstract.query_params import QueryParams
|
||||
from openbb_provider.models.base import BaseSymbol
|
||||
|
||||
from pydantic import Field
|
||||
|
||||
|
||||
class PriceTargetQueryParams(QueryParams, BaseSymbol):
|
||||
"""Price Target Query."""
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
"""Price target consensus data model."""
|
||||
|
||||
|
||||
from pydantic import Field
|
||||
|
||||
from openbb_provider.abstract.data import Data
|
||||
from openbb_provider.abstract.query_params import QueryParams
|
||||
from openbb_provider.models.base import BaseSymbol
|
||||
|
||||
from pydantic import Field
|
||||
|
||||
|
||||
class PriceTargetConsensusQueryParams(QueryParams, BaseSymbol):
|
||||
"""Price Target Consensus Query."""
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
from datetime import date as dateType
|
||||
from typing import Dict, Literal
|
||||
|
||||
from pydantic import Field
|
||||
|
||||
from openbb_provider.abstract.data import Data
|
||||
from openbb_provider.abstract.query_params import QueryParams
|
||||
from openbb_provider.descriptions import QUERY_DESCRIPTIONS, DATA_DESCRIPTIONS
|
||||
from openbb_provider.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS
|
||||
from openbb_provider.models.base import BaseSymbol
|
||||
|
||||
from pydantic import Field
|
||||
|
||||
|
||||
class RevenueBusinessLineQueryParams(QueryParams, BaseSymbol):
|
||||
"""Revenue Business Line Query."""
|
||||
|
||||
Reference in New Issue
Block a user