GithubHelp home page GithubHelp logo

Comments (4)

dylanahsmith avatar dylanahsmith commented on August 22, 2024

I wasn't able to reproduce the problem. I tried writing a customer test for this case and ran it with python 2 and 3. I also tried using a production console and didn't receive that problem, although I needed to increase the password length to avoid a validation error (minimum password length is 5).

What version of python, pyactiveresource and shopify_python_api are you using?

I'll create a pull request with the test I wrote and cc you on it.

from shopify_python_api.

dylanahsmith avatar dylanahsmith commented on August 22, 2024

Closing since I couldn't reproduce. But if you could modify the test that I added in #105 to reproduce the issue, then we can get it fixed if this is an issue.

from shopify_python_api.

kaiserama avatar kaiserama commented on August 22, 2024

I realize this is closed, but just FYI - I encountered the same problem as @sephii. Using his workaround worked for me as well.

from shopify_python_api.

lostb1t avatar lostb1t commented on August 22, 2024

FYI: this bug still exists.

You can also use the following "workaround" that will work for for both creating and updating a customer.

customer = shopify.Customer.find(2321323123)
customer.attributes["password"] = self._password
customer.attributes["password_confirmation"] = self._password

from shopify_python_api.

Related Issues (20)

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.