Skip to content

Commit

Permalink
remove validation preventing minimal call format
Browse files Browse the repository at this point in the history
  • Loading branch information
dariko committed Feb 28, 2019
1 parent 339f4aa commit ae94b43
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions etcd3/baseclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ def __iter__(self):

class BaseClient(AuthAPI, ClusterAPI, KVAPI, LeaseAPI, MaintenanceAPI,
WatchAPI, ExtraAPI, LockAPI):
@check_param(at_most_one_of=['port', 'endpoints'], at_least_one_of=['port', 'endpoints'])
@check_param(at_most_one_of=['host', 'endpoints'], at_least_one_of=['host', 'endpoints'])
def __init__(self, host=None, port=None, endpoints=None, protocol='http', cert=(),
verify=None, timeout=None, headers=None, user_agent=None, pool_size=30,
username=None, password=None, token=None,
Expand Down

0 comments on commit ae94b43

Please sign in to comment.