Home > Net >  Listing available drivers in intake
Listing available drivers in intake

Time:08-09

How can I list all the available drivers in intake?

I attempted to run dir on intake.source, but didn't manage to find a listing of drivers.

CodePudding user response:

In python:

from intake.source import registry
dict(registry)

In shell

> intake drivers list

Most sources will also get an intake.open_... function created at import time, but check out the intake.sources.discovery module to see how these drivers are located. Some may be disables in the config.

Also, you can refer to any driver explicitly by its package.module.Class in a data source, you do not need to have a given driver registered.

  • Related