Skip to content

Commit 0d6ccf2

Browse files
authored
Merge pull request #50 from mujin/applications
Adding Webstack Client Subscription
2 parents 7be3494 + bbbb6d8 commit 0d6ccf2

File tree

8 files changed

+361
-41
lines changed

8 files changed

+361
-41
lines changed

.github/workflows/python.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,6 @@ on:
1111

1212
jobs:
1313

14-
build_python2:
15-
runs-on: ubuntu-20.04
16-
container:
17-
image: python:2.7.18-buster
18-
strategy:
19-
matrix:
20-
python-version: [2.7]
21-
22-
steps:
23-
- uses: actions/checkout@v2
24-
25-
- name: Install dependencies
26-
run: |
27-
python -m pip install --upgrade pip
28-
pip install flake8 pytest requests_mock graphql-core six
29-
pip install .
30-
31-
- name: Lint with flake8
32-
run: |
33-
flake8 --isolated --show-source --ignore=C901,E128,E201,E202,E203,E221,E225,E226,E227,E228,E231,E241,E251,E261,E262,E265,E271,E301,E302,E303,E305,E402,E501,W291,W293,W391 python bin
34-
35-
- name: Test with pytest
36-
run: |
37-
pytest
38-
3914
build_python3:
4015

4116
runs-on: ubuntu-20.04

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.9.0 (2025-03-28)
4+
5+
### Changes
6+
7+
- Add support for GraphQL subscriptions.
8+
39
## 0.8.7 (2025-03-27)
410

511
### Changes

bin/mujin_webstackclientpy_runshell.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,12 @@ def _Main():
3232

3333
self = WebstackClient(options.url, options.username, options.password)
3434

35+
# launch interactive shell
3536
from IPython.terminal import embed
3637
ipshell = embed.InteractiveShellEmbed(config=embed.load_default_config())(local_ns=locals())
3738

39+
# destroy the client
40+
self.Destroy()
3841

3942
if __name__ == "__main__":
4043
_Main()

0 commit comments

Comments
 (0)