question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Depreciate connections to database to store origin and destination before making API call

See original GitHub issue

Requirement

Remove any instances of database connection related to API calling, not affect database setup for NLP, replace with dictionary.

Pre-requisite

  • Elementary knowledge of Python and MySQL

Dependencies

None

Description

  • Currently, the chatbot.py file has references to add_to_maps_database and get_from_maps_database. These references must be removed along with their definitions. (The participant is encouraged to find the file containing the definitions)
  • All references to the tables used in these methods must be removed.
  • This should be replaced with a dictionary where the key is origin and value is destination and used in both locations.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
vishakha-lallcommented, Mar 3, 2020

Yes, your progress looks promising! Keep it up.

1reaction
syedibrahimcommented, Mar 3, 2020

@vishakha-lall I have currently removed definitions of add_to_maps_database and get_from_maps_database from googleMapsApiModule.py and yet to replace references to table with the dictionary. Am I making right progress?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Connector Management with Fivetran REST API
Using Fivetran REST API: Call the Retrieve a Connector Schema Config endpoint. ... of your connector defines how the data is stored in...
Read more >
How to Use an API: Just the Basics 2022 | TechnologyAdvice
Ever wonder what an API is or how to use one? APIs allow one program to request data from another. Learn more about...
Read more >
Reference-Tableau Server REST API
These values are not case sensitive. content-luid, The unique ID of the asset (database, table, column, published data source, flow, virtual connection ......
Read more >
Execute an SQL Statement on an External Database
Describes how to execute an SQL statement on relational external databases using Database Connector.
Read more >
How to pull data from an API | Acho
Solution 3: Save API data automatically into a database · 1. Configure the API endpoint · 2. Create an API resource · 3....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found