Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update keycloak demo with birdy #93

Merged
merged 1 commit into from
Feb 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
update keycloak demo with birdy
cehbrecht committed Feb 6, 2020
commit 4405e838dbb23385a3340780a94cbb2baba3eb9e
2 changes: 2 additions & 0 deletions notebooks/environment.yml
Original file line number Diff line number Diff line change
@@ -2,10 +2,12 @@
name: twitcher
channels:
- defaults
- conda-forge
dependencies:
- pip
- jupyterlab
- requests
- oauthlib
- birdy
- pip:
- requests-oauthlib
35 changes: 35 additions & 0 deletions notebooks/twitcher-keycloak-online-demo.ipynb
Original file line number Diff line number Diff line change
@@ -106,6 +106,41 @@
"source": [
"'Hello Stranger' in resp.text"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Use Birdy"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from birdy import WPSClient\n",
"emu = WPSClient(url=base_url, headers=headers)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"response = emu.hello(name='Stranger')"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"response.get()"
]
}
],
"metadata": {