launchpy 0.4.4.post2__tar.gz → 0.4.4.post3__tar.gz
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.
- {launchpy-0.4.4.post2/launchpy.egg-info → launchpy-0.4.4.post3}/PKG-INFO +1 -1
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/releases.md +1 -0
- launchpy-0.4.4.post3/launchpy/__version__.py +1 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/synchronizer.py +7 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3/launchpy.egg-info}/PKG-INFO +1 -1
- launchpy-0.4.4.post2/launchpy/__version__.py +0 -1
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/LICENSE +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/README.md +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/admin.md +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/getstarted.md +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/library.md +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/main.md +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/property.md +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/synchronizer.md +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/translator.md +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/__init__.py +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/admin.py +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/config.py +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/configs.py +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/connector.py +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/launchpy.py +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/library.py +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/property.py +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy.egg-info/SOURCES.txt +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy.egg-info/dependency_links.txt +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy.egg-info/requires.txt +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy.egg-info/top_level.txt +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/pyproject.toml +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/requirements.txt +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/setup.cfg +0 -0
- {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/setup.py +0 -0
|
@@ -12,6 +12,7 @@ Patch:
|
|
|
12
12
|
* adding a name parameter for the `checkExtensionUpdate` method
|
|
13
13
|
* adding the `extractRuleComponents` method in property.
|
|
14
14
|
* Fixing `syncComponent` method when published version name is different than live version.
|
|
15
|
+
* Supporting `timeout` on synchronizer to override the existing setup during synchronization.
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
## 0.4.3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.4.4-3"
|
|
@@ -125,7 +125,10 @@ class Synchronizer:
|
|
|
125
125
|
componentName : REQUIRED : the name of the component to sync
|
|
126
126
|
componentID : REQUIRED : the id of the component to sync
|
|
127
127
|
publishedVersion : OPTIONAL : if you want to take the version that has been published
|
|
128
|
+
possible kwargs:
|
|
129
|
+
timeout : OPTIONAL : The timeout to be used for the rule component. If not provided, the existing timeout will be used.
|
|
128
130
|
"""
|
|
131
|
+
timeout = kwargs.get('timeout',None)
|
|
129
132
|
if componentName is None and componentId is None:
|
|
130
133
|
raise ValueError('Require a component Name of a component ID')
|
|
131
134
|
cmp_base=None
|
|
@@ -257,6 +260,8 @@ class Synchronizer:
|
|
|
257
260
|
except:
|
|
258
261
|
raise KeyError("Could not translate the component. Please check if your extensions are aligned in the properties.")
|
|
259
262
|
translatedComponent['rule_setting']['data'][0]['id'] = targetRuleId
|
|
263
|
+
if timeout is not None:
|
|
264
|
+
translatedComponent['timeout'] = timeout
|
|
260
265
|
targetRuleComponent = self.targets[target]['api'].createRuleComponent(
|
|
261
266
|
name=translatedComponent['name'],
|
|
262
267
|
settings = translatedComponent['settings'],
|
|
@@ -287,6 +292,8 @@ class Synchronizer:
|
|
|
287
292
|
except:
|
|
288
293
|
raise KeyError("Could not translate the component. Please check if your extensions are aligned in the properties.")
|
|
289
294
|
translatedComponent['rule_setting']['data'][0]['id'] = targetRuleId
|
|
295
|
+
if timeout is not None:
|
|
296
|
+
translatedComponent['timeout'] = timeout
|
|
290
297
|
targetRuleComponent = self.targets[target]['api'].createRuleComponent(
|
|
291
298
|
name=translatedComponent['name'],
|
|
292
299
|
settings = translatedComponent['settings'],
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.4.4-2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|