Rename api_models to api_schemas
This commit is contained in:
parent
84ced92002
commit
336dd1a29c
@ -6,7 +6,7 @@ from fastapi import APIRouter, Depends, HTTPException, status
|
|||||||
from fastapi.security import OAuth2PasswordBearer
|
from fastapi.security import OAuth2PasswordBearer
|
||||||
from fastapi.security.http import HTTPBasic, HTTPBasicCredentials
|
from fastapi.security.http import HTTPBasic, HTTPBasicCredentials
|
||||||
|
|
||||||
from freqtrade.rpc.api_server.api_models import AccessAndRefreshToken, AccessToken
|
from freqtrade.rpc.api_server.api_schemas import AccessAndRefreshToken, AccessToken
|
||||||
from freqtrade.rpc.api_server.deps import get_api_config
|
from freqtrade.rpc.api_server.deps import get_api_config
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,14 +10,14 @@ from freqtrade.constants import USERPATH_STRATEGIES
|
|||||||
from freqtrade.data.history import get_datahandler
|
from freqtrade.data.history import get_datahandler
|
||||||
from freqtrade.exceptions import OperationalException
|
from freqtrade.exceptions import OperationalException
|
||||||
from freqtrade.rpc import RPC
|
from freqtrade.rpc import RPC
|
||||||
from freqtrade.rpc.api_server.api_models import (AvailablePairs, Balances, BlacklistPayload,
|
from freqtrade.rpc.api_server.api_schemas import (AvailablePairs, Balances, BlacklistPayload,
|
||||||
BlacklistResponse, Count, Daily, DeleteTrade,
|
BlacklistResponse, Count, Daily, DeleteTrade,
|
||||||
ForceBuyPayload, ForceSellPayload, Locks, Logs,
|
ForceBuyPayload, ForceSellPayload, Locks, Logs,
|
||||||
OpenTradeSchema, PairHistory, PerformanceEntry,
|
OpenTradeSchema, PairHistory, PerformanceEntry,
|
||||||
Ping, PlotConfig, Profit, ResultMsg, Stats,
|
Ping, PlotConfig, Profit, ResultMsg, Stats,
|
||||||
StatusMsg, StrategyListResponse, StrategyResponse,
|
StatusMsg, StrategyListResponse, StrategyResponse,
|
||||||
TradeResponse, TradeSchema, Version,
|
TradeResponse, TradeSchema, Version,
|
||||||
WhitelistResponse)
|
WhitelistResponse)
|
||||||
from freqtrade.rpc.api_server.deps import get_config, get_rpc
|
from freqtrade.rpc.api_server.deps import get_config, get_rpc
|
||||||
from freqtrade.rpc.rpc import RPCException
|
from freqtrade.rpc.rpc import RPCException
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user