synapse-sdk 1.0.0a5__py3-none-any.whl → 1.0.0a6__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.

Potentially problematic release.


This version of synapse-sdk might be problematic. Click here for more details.

@@ -1 +1 @@
1
- synapse-sdk
1
+ synapse-sdk[all]
@@ -2,6 +2,7 @@ import json
2
2
  from pathlib import Path
3
3
 
4
4
  from synapse_sdk.plugins.categories.registry import _REGISTERED_ACTIONS, register_actions
5
+ from synapse_sdk.plugins.enums import PluginCategory
5
6
  from synapse_sdk.utils.file import get_dict_from_file
6
7
 
7
8
 
@@ -37,8 +38,7 @@ def get_available_actions(category):
37
38
 
38
39
 
39
40
  def get_plugin_categories():
40
- register_actions()
41
- return list(_REGISTERED_ACTIONS.keys())
41
+ return [plugin_category.value for plugin_category in PluginCategory]
42
42
 
43
43
 
44
44
  def read_plugin_config(plugin_path=None):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: synapse-sdk
3
- Version: 1.0.0a5
3
+ Version: 1.0.0a6
4
4
  Summary: synapse sdk
5
5
  Author-email: datamaker <developer@datamaker.io>
6
6
  License: MIT
@@ -17,7 +17,7 @@ synapse_sdk/plugins/__init__.py,sha256=9vsbYhxah4_ofTaG0x0qLFID_raHNkO57Y8A31Ws-
17
17
  synapse_sdk/plugins/enums.py,sha256=lQZqO2bEeBKdk6q-SMjfOLDlgxv7BuIPk3fXeUFfHRs,327
18
18
  synapse_sdk/plugins/models.py,sha256=LmhJCWfyBeTDFgw-qwkQAwRRW_zsPOHOZdhI5c8jomE,1606
19
19
  synapse_sdk/plugins/upload.py,sha256=SSCHUR4HJ_mdLN7mUkk5UlXmL9028SKP6tpBS2rpf0A,3175
20
- synapse_sdk/plugins/utils.py,sha256=atfm28tPdWrTLFX5X69xu42ld30Wh_QkwD8K0NH9sZs,1423
20
+ synapse_sdk/plugins/utils.py,sha256=n3s-zFnj4hrGWFtaBTJFbaupI8qUQL6S8_5YcbxOmeY,1482
21
21
  synapse_sdk/plugins/categories/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  synapse_sdk/plugins/categories/base.py,sha256=mf1duSt1Kt3FrgbXVlps64D1-OmkQx_HI1Z8HKkoA1E,6575
23
23
  synapse_sdk/plugins/categories/decorators.py,sha256=Gw6T-UHwpCKrSt596X-g2sZbY_Z1zbbogowClj7Pr5Q,518
@@ -61,7 +61,7 @@ synapse_sdk/plugins/templates/synapse-{{cookiecutter.plugin_code}}-plugin/.pre-c
61
61
  synapse_sdk/plugins/templates/synapse-{{cookiecutter.plugin_code}}-plugin/README.md,sha256=ETBZv_2Ocgzn4Fe3o5Y842mZiz00ABuAalrXpNVnWU0,56
62
62
  synapse_sdk/plugins/templates/synapse-{{cookiecutter.plugin_code}}-plugin/config.yaml,sha256=3Sv59w4vAgFasJEn5z7WNborTVlotrqOOVnCLEEz5JI,459
63
63
  synapse_sdk/plugins/templates/synapse-{{cookiecutter.plugin_code}}-plugin/pyproject.toml,sha256=HHfEE_HquaTlBPCOTQkNXphVtc3QLtU_kCEqKv6C6e8,312
64
- synapse_sdk/plugins/templates/synapse-{{cookiecutter.plugin_code}}-plugin/requirements.txt,sha256=Yu6Si7Sgpq5k3glDxViT4PsS79Ssi-ZxEZPOIjfe0xI,12
64
+ synapse_sdk/plugins/templates/synapse-{{cookiecutter.plugin_code}}-plugin/requirements.txt,sha256=F5UwinpTLQFfyakFGTFxgBOo4H-EKD9d4e77WKOPHhk,17
65
65
  synapse_sdk/plugins/templates/synapse-{{cookiecutter.plugin_code}}-plugin/plugin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
66
66
  synapse_sdk/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
67
67
  synapse_sdk/utils/debug.py,sha256=46sMFQLg_JSRUCymnT3wgszG1QsgrocRGiBjVX38r50,53
@@ -69,9 +69,9 @@ synapse_sdk/utils/file.py,sha256=Iptk_DCPsmJzqAABCD3vC6z1yG74fKb5x81LnUCZzYo,191
69
69
  synapse_sdk/utils/module_loading.py,sha256=chHpU-BZjtYaTBD_q0T7LcKWtqKvYBS4L0lPlKkoMQ8,1020
70
70
  synapse_sdk/utils/storage.py,sha256=U3TScqQNgHQ89s0kUqQ8hm3npQAznIyRqzWDKR0YA3E,2581
71
71
  synapse_sdk/utils/string.py,sha256=rEwuZ9SAaZLcQ8TYiwNKr1h2u4CfnrQx7SUL8NWmChg,216
72
- synapse_sdk-1.0.0a5.dist-info/LICENSE,sha256=bKzmC5YAg4V1Fhl8OO_tqY8j62hgdncAkN7VrdjmrGk,1101
73
- synapse_sdk-1.0.0a5.dist-info/METADATA,sha256=FrXnCT7BzuNKZDboXK_4sNyy4wsjMLqSL8gKkg8UEU0,568
74
- synapse_sdk-1.0.0a5.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
75
- synapse_sdk-1.0.0a5.dist-info/entry_points.txt,sha256=VNptJoGoNJI8yLXfBmhgUefMsmGI0m3-0YoMvrOgbxo,48
76
- synapse_sdk-1.0.0a5.dist-info/top_level.txt,sha256=ytgJMRK1slVOKUpgcw3LEyHHP7S34J6n_gJzdkcSsw8,12
77
- synapse_sdk-1.0.0a5.dist-info/RECORD,,
72
+ synapse_sdk-1.0.0a6.dist-info/LICENSE,sha256=bKzmC5YAg4V1Fhl8OO_tqY8j62hgdncAkN7VrdjmrGk,1101
73
+ synapse_sdk-1.0.0a6.dist-info/METADATA,sha256=t1xmLp2ooXp2022zUVfStMEkvlAlfke1ZxAVeqjE_1o,568
74
+ synapse_sdk-1.0.0a6.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
75
+ synapse_sdk-1.0.0a6.dist-info/entry_points.txt,sha256=VNptJoGoNJI8yLXfBmhgUefMsmGI0m3-0YoMvrOgbxo,48
76
+ synapse_sdk-1.0.0a6.dist-info/top_level.txt,sha256=ytgJMRK1slVOKUpgcw3LEyHHP7S34J6n_gJzdkcSsw8,12
77
+ synapse_sdk-1.0.0a6.dist-info/RECORD,,