Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fred
utils
epplib
Commits
ce839b6e
Commit
ce839b6e
authored
Jul 04, 2022
by
Filip Uradnik
Committed by
Vlastimil Zima
Jul 20, 2022
Browse files
Fix README example code.
parent
b222c18c
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.rst
View file @
ce839b6e
...
...
@@ -26,6 +26,10 @@ See the example below
.. code-block:: python
from epplib.client import Client
from epplib.commands import InfoDomain, Login, Logout
from epplib.transport import SocketTransport
hostname = 'localhost'
port = 12345
cert_file = 'path/to/cert.pem'
...
...
@@ -40,6 +44,6 @@ See the example below
info = InfoDomain(name='mydomain.cz')
response_info = client.send(info)
print(response_info.res_data.ex_date)
print(response_info.res_data
[0]
.ex_date)
client.send(Logout())
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment