Requesting snowflake with python

GP30
GP30 Registered Posts: 7 ✭
edited July 2024 in Using Dataiku
Hello, I am working on web app designer, I want to create a tile which lists the tables of my schemas of my snowflake db.
I have to do it in python but I don't know how to do it.
Since I am already connecting to snowflake from dataiku (I can add a dataset to the flow) I tell myself that in my script I no longer need to put the credentials to connect. 
Would you know how to connect to snowflake with python? (without putting id and password)

Best Answer

Answers

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023, Circle Member Posts: 2,726 Neuron

    What type of Dataiku WebApp are you designing?

  • GP30
    GP30 Registered Posts: 7 ✭

    it's Application Designer.

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023, Circle Member Posts: 2,726 Neuron

    OK so you are not designing a Dataiku WebApp you are designing Dataiku Application. I am not sure which on you really meant to do and the answer to your question will depend on what you are developing. Do you want a Dataiku WebApp or a Dataiku Application? These are completely different things and fill completely different purposes.

  • GP30
    GP30 Registered Posts: 7 ✭

    i'm designing an Dataiku Application.

    On one of my tiles (Edit Projet variables) i'm trying to create a python capable to list all tables whitch are in my snowflake db

  • GP30
    GP30 Registered Posts: 7 ✭

    thank you it works

Setup Info
    Tags
      Help me…