mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-03 16:02:04 +00:00
ruff
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
from dataclasses import dataclass, make_dataclass
|
||||
from typing import Any, Dict, List, Literal, Optional, Tuple, Type, Union
|
||||
from typing import Any, Dict, List, Literal, Optional, Tuple, Union
|
||||
|
||||
from fastapi import Query
|
||||
from openbb_provider.query_executor import QueryExecutor
|
||||
from openbb_provider.registry_map import RegistryMap, MapType
|
||||
from openbb_provider.registry_map import MapType, RegistryMap
|
||||
from pydantic import BaseConfig, BaseModel, Extra, Field, create_model
|
||||
from pydantic.fields import ModelField
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@ import warnings
|
||||
from dataclasses import asdict
|
||||
from typing import Any, Dict
|
||||
|
||||
from openbb_provider.abstract.fetcher import GenericDataType
|
||||
|
||||
from openbb_core.app.model.abstract.warning import OpenBBWarning
|
||||
from openbb_core.app.model.command_context import CommandContext
|
||||
from openbb_core.app.provider_interface import (
|
||||
@@ -12,7 +14,6 @@ from openbb_core.app.provider_interface import (
|
||||
StandardParams,
|
||||
get_provider_interface,
|
||||
)
|
||||
from openbb_provider.abstract.fetcher import GenericDataType
|
||||
|
||||
|
||||
class Query:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from typing import Dict
|
||||
|
||||
import pkg_resources
|
||||
|
||||
from openbb_provider.abstract.provider import Provider
|
||||
|
||||
Reference in New Issue
Block a user