falyx 0.1.17__py3-none-any.whl → 0.1.18__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- falyx/.coverage +0 -0
- falyx/http_action.py +19 -19
- falyx/version.py +1 -1
- {falyx-0.1.17.dist-info → falyx-0.1.18.dist-info}/METADATA +1 -1
- {falyx-0.1.17.dist-info → falyx-0.1.18.dist-info}/RECORD +8 -7
- {falyx-0.1.17.dist-info → falyx-0.1.18.dist-info}/LICENSE +0 -0
- {falyx-0.1.17.dist-info → falyx-0.1.18.dist-info}/WHEEL +0 -0
- {falyx-0.1.17.dist-info → falyx-0.1.18.dist-info}/entry_points.txt +0 -0
falyx/.coverage
ADDED
Binary file
|
falyx/http_action.py
CHANGED
@@ -105,28 +105,28 @@ class HTTPAction(Action):
|
|
105
105
|
session = aiohttp.ClientSession()
|
106
106
|
context.set("http_session", session)
|
107
107
|
context.set("_session_should_close", True)
|
108
|
-
|
109
108
|
else:
|
110
109
|
session = aiohttp.ClientSession()
|
111
110
|
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
111
|
+
try:
|
112
|
+
async with session.request(
|
113
|
+
self.method,
|
114
|
+
self.url,
|
115
|
+
headers=self.headers,
|
116
|
+
params=self.params,
|
117
|
+
json=self.json,
|
118
|
+
data=self.data,
|
119
|
+
) as response:
|
120
|
+
body = await response.text()
|
121
|
+
return {
|
122
|
+
"status": response.status,
|
123
|
+
"url": str(response.url),
|
124
|
+
"headers": dict(response.headers),
|
125
|
+
"body": body,
|
126
|
+
}
|
127
|
+
finally:
|
128
|
+
if not self.shared_context:
|
129
|
+
await session.close()
|
130
130
|
|
131
131
|
async def preview(self, parent: Tree | None = None):
|
132
132
|
label = [
|
falyx/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.1.
|
1
|
+
__version__ = "0.1.18"
|
@@ -1,3 +1,4 @@
|
|
1
|
+
falyx/.coverage,sha256=DNx1Ew1vSvuIcKko7httsyL62erJxVQ6CKtuJKxRVj4,53248
|
1
2
|
falyx/.pytyped,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
3
|
falyx/__init__.py,sha256=dYRamQJlT1Zoy5Uu1uG4NCV05Xk98nN1LAQrSR1CT2A,643
|
3
4
|
falyx/__main__.py,sha256=pXxXLlDot33dc4mR11Njpr4M_xbSTdKEqKWMS2aUqfk,2195
|
@@ -12,7 +13,7 @@ falyx/execution_registry.py,sha256=xB2SJuEoDxxfwUmKXLAZQSrVoNPXwnVML98sTgwBqRI,2
|
|
12
13
|
falyx/falyx.py,sha256=NdQdaQcG3V4D9lgMOrgH_8_w3T-MqUiGNeyBZXKpTbQ,38522
|
13
14
|
falyx/hook_manager.py,sha256=E9Vk4bdoUTeXPQ_BQEvY2Jt-jUAusc40LI8JDy3NLUw,2381
|
14
15
|
falyx/hooks.py,sha256=9zXk62DsJLJrmwTdyeNy5s-rVRvl8feuYRrfMmz6cVQ,2802
|
15
|
-
falyx/http_action.py,sha256=
|
16
|
+
falyx/http_action.py,sha256=thZXnypT7ZUshBg4c9F-c8Pk7-yCjvHmMwHR9cqg_Xw,5715
|
16
17
|
falyx/init.py,sha256=-xly0VkOo0lTDaAZyRGEPD8YSP0ySxJtxFs79faZhO4,1799
|
17
18
|
falyx/io_action.py,sha256=MsvKj63VmABqdtDURgfGOpiudpTPOL0N_hlmTbYVtcA,10662
|
18
19
|
falyx/menu_action.py,sha256=sHKcLYHCl3yzyVjL6cu97NtGVJhPZO4oXkQ4Lb5z3C8,8060
|
@@ -30,9 +31,9 @@ falyx/tagged_table.py,sha256=sn2kosRRpcpeMB8vKk47c9yjpffSz_9FXH_e6kw15mA,1019
|
|
30
31
|
falyx/themes/colors.py,sha256=4aaeAHJetmeNInI0Zytg4E3YqKfPFelpf04vtjSvsS8,19776
|
31
32
|
falyx/utils.py,sha256=b1GQ3ooz4Io3zPE7MsoDm7j42AioTG-ZcWH-N2TRpbI,7710
|
32
33
|
falyx/validators.py,sha256=NMxqCk8Fr8HQGVDYpg8B_JRk5SKR41E_G9gj1YfQnxg,1316
|
33
|
-
falyx/version.py,sha256=
|
34
|
-
falyx-0.1.
|
35
|
-
falyx-0.1.
|
36
|
-
falyx-0.1.
|
37
|
-
falyx-0.1.
|
38
|
-
falyx-0.1.
|
34
|
+
falyx/version.py,sha256=6BiuMUkhwQp6bzUZSF8np8F1NwCltEtK0sPBF__tepU,23
|
35
|
+
falyx-0.1.18.dist-info/LICENSE,sha256=B0yqgaHuSdhN7T3OBmgQSiDTy8HqT5Oe_dLypRe4Ra4,1073
|
36
|
+
falyx-0.1.18.dist-info/METADATA,sha256=tq_ZdtoqSKsn3klMc-ykqVkm2GxiVC96OJOvLKy028s,5484
|
37
|
+
falyx-0.1.18.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
38
|
+
falyx-0.1.18.dist-info/entry_points.txt,sha256=j8owOSl2j1Ss8DtGMnKfgehKaolqnIPhVFHaUBLUnMs,45
|
39
|
+
falyx-0.1.18.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|