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.
Files changed (31) hide show
  1. {launchpy-0.4.4.post2/launchpy.egg-info → launchpy-0.4.4.post3}/PKG-INFO +1 -1
  2. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/releases.md +1 -0
  3. launchpy-0.4.4.post3/launchpy/__version__.py +1 -0
  4. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/synchronizer.py +7 -0
  5. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3/launchpy.egg-info}/PKG-INFO +1 -1
  6. launchpy-0.4.4.post2/launchpy/__version__.py +0 -1
  7. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/LICENSE +0 -0
  8. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/README.md +0 -0
  9. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/admin.md +0 -0
  10. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/getstarted.md +0 -0
  11. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/library.md +0 -0
  12. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/main.md +0 -0
  13. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/property.md +0 -0
  14. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/synchronizer.md +0 -0
  15. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/docs/translator.md +0 -0
  16. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/__init__.py +0 -0
  17. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/admin.py +0 -0
  18. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/config.py +0 -0
  19. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/configs.py +0 -0
  20. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/connector.py +0 -0
  21. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/launchpy.py +0 -0
  22. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/library.py +0 -0
  23. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy/property.py +0 -0
  24. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy.egg-info/SOURCES.txt +0 -0
  25. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy.egg-info/dependency_links.txt +0 -0
  26. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy.egg-info/requires.txt +0 -0
  27. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/launchpy.egg-info/top_level.txt +0 -0
  28. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/pyproject.toml +0 -0
  29. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/requirements.txt +0 -0
  30. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/setup.cfg +0 -0
  31. {launchpy-0.4.4.post2 → launchpy-0.4.4.post3}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: launchpy
3
- Version: 0.4.4.post2
3
+ Version: 0.4.4.post3
4
4
  Summary: Adobe Launch API wrapper
5
5
  Home-page: https://github.com/pitchmuc/launchpy
6
6
  Author: Julien Piccini
@@ -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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: launchpy
3
- Version: 0.4.4.post2
3
+ Version: 0.4.4.post3
4
4
  Summary: Adobe Launch API wrapper
5
5
  Home-page: https://github.com/pitchmuc/launchpy
6
6
  Author: Julien Piccini
@@ -1 +0,0 @@
1
- __version__ = "0.4.4-2"
File without changes
File without changes
File without changes
File without changes