launchpy 0.4.3.post2__tar.gz → 0.4.3.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.3.post2/launchpy.egg-info → launchpy-0.4.3.post3}/PKG-INFO +1 -1
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/docs/getstarted.md +9 -1
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/docs/releases.md +3 -1
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/docs/synchronizer.md +2 -11
- launchpy-0.4.3.post3/launchpy/__version__.py +1 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/launchpy/synchronizer.py +1 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3/launchpy.egg-info}/PKG-INFO +1 -1
- launchpy-0.4.3.post2/launchpy/__version__.py +0 -1
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/LICENSE +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/README.md +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/docs/admin.md +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/docs/library.md +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/docs/main.md +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/docs/property.md +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/docs/translator.md +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/launchpy/__init__.py +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/launchpy/admin.py +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/launchpy/config.py +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/launchpy/configs.py +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/launchpy/connector.py +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/launchpy/launchpy.py +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/launchpy/library.py +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/launchpy/property.py +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/launchpy.egg-info/SOURCES.txt +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/launchpy.egg-info/dependency_links.txt +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/launchpy.egg-info/requires.txt +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/launchpy.egg-info/top_level.txt +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/pyproject.toml +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/requirements.txt +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/setup.cfg +0 -0
- {launchpy-0.4.3.post2 → launchpy-0.4.3.post3}/setup.py +0 -0
|
@@ -26,7 +26,15 @@ lp.createConfigFile()
|
|
|
26
26
|
This will create a JSON and you will need to fill it with the information available in your adobe io account.
|
|
27
27
|
|
|
28
28
|
**NOTE**: scope in the config file has evolved over time so you can change it. Following this [link](https://www.adobe.io/authentication/auth-methods.html#!AdobeDocs/adobeio-auth/master/JWT/Scopes.md) to see the different scope possible.\
|
|
29
|
-
|
|
29
|
+
You can change the `scope` attribute for one of these values: `"https://ims-na1.adobelogin.com/s/ent_reactor_admin_sdk"` or `"https://ims-na1.adobelogin.com/s/ent_reactor_sdk"`
|
|
30
|
+
By default, I will test the dev scope if the scope provided fails. So normally nothing you need to do.
|
|
31
|
+
|
|
32
|
+
**NOTE 2**: There is a possibility till end of 2024 to use the JWT.\
|
|
33
|
+
launchpy supports both `jwt` and `oauthV2` authentication.\
|
|
34
|
+
By default the latest version will try to use the `oauthV2`.\
|
|
35
|
+
You can specify the keys generated in the config file by using the `auth_type` parameter.\
|
|
36
|
+
Possible values : `oauthV2` (default) or `jwt`
|
|
37
|
+
|
|
30
38
|
|
|
31
39
|
## 4. Import the configuration file
|
|
32
40
|
|
|
@@ -4,7 +4,9 @@ This page gathered the changes made between version of the launchpy module.\
|
|
|
4
4
|
This has been started after the 0.3.0 release.\
|
|
5
5
|
|
|
6
6
|
## 0.4.3
|
|
7
|
-
* Refactor `Translator` class for removing `pandas` dependency
|
|
7
|
+
* Refactor `Translator` class for removing `pandas` dependency\
|
|
8
|
+
Patch:
|
|
9
|
+
* Fix an issue with dependency on `target_configs` attribute in synchronizor.
|
|
8
10
|
|
|
9
11
|
## 0.4.2
|
|
10
12
|
* Supporting the Oauth Token V2 authentication
|
|
@@ -217,18 +217,9 @@ synchronizor.dynamicFiltering(myRules)
|
|
|
217
217
|
```
|
|
218
218
|
|
|
219
219
|
|
|
220
|
-
###
|
|
220
|
+
### Dynamic Component filter check
|
|
221
221
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
```python
|
|
225
|
-
synchronizor = lp.Synchronizer(base='BaseProperty',targets=['Target Property 1',
|
|
226
|
-
'Target Property 2',
|
|
227
|
-
'Target Property 3'],
|
|
228
|
-
dynamicRuleComponent='syncFilter')
|
|
229
|
-
```
|
|
230
|
-
In this example above, `syncFilter` is the name of the data element containing that configuration.\
|
|
231
|
-
Once your Synchronizer class has been instanciated, you can access 2 attributes in it to verify the correct setup.
|
|
222
|
+
Once you have loaded your dynamic component rules in your Synchronizer class, you can access 2 attributes to verify the correct setup.
|
|
232
223
|
|
|
233
224
|
* `dict_config`
|
|
234
225
|
The `dict_config` attribute will be a copy of your data element setup, but a dictionary instead of an array where all of the target properties rule will be a key.\
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.4.3-3"
|
|
@@ -45,6 +45,7 @@ class Synchronizer:
|
|
|
45
45
|
self.translator.setBaseExtensions(self.base['extensions'],self.base['name'])
|
|
46
46
|
self.translator.setBaseRules(self.base['rules'],self.base['name'])
|
|
47
47
|
self.targets = {}
|
|
48
|
+
self.target_configs = {}
|
|
48
49
|
for target in targets:
|
|
49
50
|
tmp_target = [prop for prop in properties if prop['attributes']['name'] == target]
|
|
50
51
|
if len(tmp_target) == 0:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.4.3-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
|