Start supporting type info
This is super basic, but it's a starting point to us being able to start adding typing info. Adding it with python2 syntax for now, since we haven't dropped py2 yet. Change-Id: I4f9b95b02d43c81acb60d224584d60331f5a7784
This commit is contained in:
parent
c9fba05bf6
commit
7fcfeeb08f
@ -24,10 +24,13 @@ __all__ = [
|
|||||||
|
|
||||||
def connect(
|
def connect(
|
||||||
cloud=None,
|
cloud=None,
|
||||||
app_name=None, app_version=None,
|
app_name=None, # type: Optional[str]
|
||||||
|
app_version=None, # type: Optional[str]
|
||||||
options=None,
|
options=None,
|
||||||
load_yaml_config=True, load_envvars=True,
|
load_yaml_config=True, # type: bool
|
||||||
|
load_envvars=True, # type: bool
|
||||||
**kwargs):
|
**kwargs):
|
||||||
|
# type: (...) -> openstack.connection.Connection
|
||||||
"""Create a :class:`~openstack.connection.Connection`
|
"""Create a :class:`~openstack.connection.Connection`
|
||||||
|
|
||||||
:param string cloud:
|
:param string cloud:
|
||||||
|
0
openstack/py.typed
Normal file
0
openstack/py.typed
Normal file
Loading…
Reference in New Issue
Block a user