Remove remote.API from core.Config (#15951)

* Use core.ApiConfig replace remote.API in core.Config

* Move ApiConfig to http
This commit is contained in:
Jason Hu 2018-08-13 00:26:20 -07:00 committed by Paulus Schoutsen
parent 31fbfed0a6
commit 272be7cdae
3 changed files with 72 additions and 5 deletions

View file

@ -1145,8 +1145,8 @@ class Config:
# List of loaded components
self.components = set() # type: set
# Remote.API object pointing at local API
self.api = None
# API (HTTP) server configuration
self.api = None # type: Optional[Any]
# Directory that holds the configuration
self.config_dir = None # type: Optional[str]