Giter Site home page Giter Site logo

ODBC transport doesn't work about python-itoolkit HOT 6 CLOSED

ibm avatar ibm commented on May 29, 2024
ODBC transport doesn't work

from python-itoolkit.

Comments (6)

kadler avatar kadler commented on May 29, 2024

Original comment by Kevin Adler (Bitbucket: kadler, GitHub: kadler).


FYI, I improved the iDB2Call transport in bacc741 to support passing a PEP-249 compliant driver. Theoretically you could implement XMLSERVICE in any DBMS and it would work, thus the "iDB2Call" name is a misnomer and ideally would be fixed. Along with that change, I'd propose fixing #1 and just have a "DatabaseCall" or similar name. Leave modules with the old names that merely load and re-export the ones in the right location.

from python-itoolkit.

jkyeung avatar jkyeung commented on May 29, 2024

Original report by John Yeung (Bitbucket: jky, GitHub: jky).

Actually, I'm @jkyeung on GitHub. (I couldn't get jky on GitHub, and that link takes you to someone else.)

from python-itoolkit.

kadler avatar kadler commented on May 29, 2024

Oh no! I wonder if I can re-do the migration script.

from python-itoolkit.

kadler avatar kadler commented on May 29, 2024

Nope, it's not possible it seems unless we delete the repository and start over:

https://github.com/jeffwidman/bitbucket-issue-migration#additional-notes

This script is not idempotent--re-running it will leave the first set of imported issues intact, and then create a duplicate set of imported issues after the first set. If you want to re-run the import, it's best to delete your GitHub repo and start over so that the GitHub issue IDs start from 1.

from python-itoolkit.

kadler avatar kadler commented on May 29, 2024

With #18 you can now do:

import pyodbc
from itoolkit.transport import DatabaseTransport

conn = pyodbc.connect("DSN=mydsn")
transport = DatabaseTransport(conn)

from python-itoolkit.

jkyeung avatar jkyeung commented on May 29, 2024

Nope, it's not possible it seems unless we delete the repository and start over:

No, don't bother. It sounds like you weren't going to anyway, but just to make it clear, I don't think it's worth the trouble.

from python-itoolkit.

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.