Browse Source

make data-parameter optional

Fixing issue https://github.com/marcospereirampj/python-keycloak/issues/65
pull/67/head
Christian Müller 5 years ago
committed by GitHub
parent
commit
d47131d5ab
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      keycloak/connection.py

2
keycloak/connection.py

@ -199,7 +199,7 @@ class ConnectionManager(object):
raise KeycloakConnectionError( raise KeycloakConnectionError(
"Can't connect to server (%s)" % e) "Can't connect to server (%s)" % e)
def raw_delete(self, path, data, **kwargs):
def raw_delete(self, path, data={}, **kwargs):
""" Submit delete request to the path. """ Submit delete request to the path.
:arg :arg

Loading…
Cancel
Save