Giter VIP home page Giter VIP logo

launchpy's People

Contributors

pitchmuc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

launchpy's Issues

Error when trying to build

Hi Team, I have tried to create the launch publishing flow using Launch API, but getting an error with setting environments. Below is the sample error, can you please let me know how to proceed with this error:

---------------------------------------------------------------------------
SystemExit                                Traceback (most recent call last)
<ipython-input-70-b898e98e09e2> in <module>
----> 1 testLibrary.build()
~\Anaconda3\lib\site-packages\launchpy\launchpy.py in build(self)
   1984             status = self._setEnvironment(obj)
   1985         if 'error' in status.keys():
-> 1986             raise SystemExit('Issue setting environment')
   1987         build = self.connector.postData(self._Builds)
   1988         build_json = build.json()
SystemExit: Issue setting environment

Unable to copy settings of data element and rule from one property to another.

Hi @pitchmuc,

I would like to thankyou for your effort building and managing this module. This is super helpful.

I am looking to copy settings of data element and rule from one property to another.
The Synchronizer class is not useful as the previous versions will be overridden.

I am using Translator class instead. However, when I run the attached code, I don't see any errors. But the data element is not getting copied.

Can you please let me know if I am missing something here?
Also, is there a functionality to copy settings of an extension from one Property to another within the same Organization?

Thanks,
Abhi.

Copy Data Element Adobe Launch API.txt

Troubles using updateDataElement

First off all: thanks for the wonderfull work on this module. It helps me a lot getting information on our setup much quicker.
But now I'm trying to update a data elements settings and keep failing.

I want to update the settings of a data element by extending a list inside of it.
What I try:

  1. I've selected the DataElement (in lookup_de) from the list returned by my_property.getDataElements()
  2. I've also captured the attributes using lookup_de_attr = lp.extractAttributes(lookup_de)
  3. As I kept failing in updating, I now just tried directly putting this inside the updateDataElement method: result = my_property.updateDataElements(lookup_de['id'], lookup_de_attr)

But I keep getting an error as result:

{'id': 'b73fac27-d04a-46ee-9763-7b4a366c0fb1', 'status': '400', 'code': 'schema-validation-error', 'title': 'Schema Validation Error', 'detail': 'The request did not contain the following required properties: data', 'meta': {}, 'source': {}}

Any idea what I'm doing wrong?

Launchpi version ==0.3.3
Requests version ==2.25.1

Add gitgnore

I've done it here. #8
It'll be useful when you start doing things like this #7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.