codegenloader.thrift¶
- codegenloader.thrift.make_path(modname, basedir)[source]¶
Returns a object to be set as __path__.
This is the visible entry point to this module. To use it, assign the result of this function to __path__:
import dropbox.codegenloader.thrift __path__ = dropbox.codegenloader.thrift.make_path(__name__, "thrift")
The first argument should always be __name__; the second is a directory name that contains the thrift files. (relative to the file where make_path is called).