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.

Fix get_driver typing issue

See original GitHub issue

The reason why current builds like https://travis-ci.com/DHI-GRAS/terracotta/builds/117457626 fail:

There is a typing error: get_driver accepts Union[str, Path] and passes that on to DriverClass.__init__, which is fine for SQLiteDriver but not for MySQLDriver, which only accepts str.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
dionhaefnercommented, Jul 2, 2019

Yes.

1reaction
dionhaefnercommented, Jul 1, 2019

Let’s change the type signature to str. People can still pass paths, which will work for the SQLite driver, but the officially supported way is string anyway.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Keyboard Not Working on Windows 10 Laptop and ...
Click the button below to get Driver Talent directly. Download Now. Step 1. Identify Your Keyboard Driver Issue. Launch Driver Talent. Your ...
Read more >
Here's how to fix a corrupted keyboard driver in Windows 10/11
How can I fix corrupted keyboard driver issues? Reinstall keyboard driver; Examine your keyboard to ensure it isn't damaged physically; Check ...
Read more >
Keyboard not typing issue in Windows 7, 8 & 10 | Drivers.com
Keyboard not typing issue in Windows 7/8/10 can occur because of many reasons, such as outdated or corrupt drivers.
Read more >
How to Update and Reinstall Keyboard Drivers on Windows ...
How Do I Fix Keyboard Driver Problems? The simplest and most workable way to resolve all the keyboard driver problems is to update...
Read more >
Can no longer get driver by provider name string #1390 - GitHub
Summary Can no longer get driver by provider name string as of 2.7.0. Detailed Information home@billy [~]--[$ python3 -m venv libcloud-venv ...
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