Git Product home page Git Product logo

Comments (6)

hugobowne avatar hugobowne commented on September 24, 2024

Note: there is also an issue with test_function('select') in the same exercise. as the issue may be different, would you like me to raise another issue?

from pythonwhat.

filipsch avatar filipsch commented on September 24, 2024

Please also reference the line inside the chapter file on GitHub; you can do that by clicking the ruler next to the document; gives you a link with ends with LX, where X is the line that has to be scrolled to.

from pythonwhat.

filipsch avatar filipsch commented on September 24, 2024

Hey @hugobowne, I found the issue; the parser couldn't handle the from import sqlalchemy import Table way of makign functions available; I've pushed an update to the master branch and expect this fix to go live later this week (I'd say wednesday).

From then on, you can use the following call to test the function:

test_function('sqlalchemy.Table', do_eval = False)

Note that you need sqlalchemy.Table, not simply Table.

This fix can have some effect on the SCTs of the importing data course that's currently live; I'll look after the SCTs so that everything keeps running smoothly for the students.

from pythonwhat.

filipsch avatar filipsch commented on September 24, 2024

Updated the wiki with a NOTE:
https://github.com/datacamp/pythonwhat/wiki/test_function#example-3-custom-feedback

from pythonwhat.

hugobowne avatar hugobowne commented on September 24, 2024

@filipsch great thanks

from pythonwhat.

hugobowne avatar hugobowne commented on September 24, 2024

@filipsch will give lineks with lines in future thx sorry forgot! rest of workflow mow seems to work well ;-)

from pythonwhat.

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.