Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.

gen_default_config dynamically loads custom components #196

Closed

Conversation

Titousensei
Copy link
Contributor

Summary:
Custom components are not import-ed in python main, gen_default_config
can't find them. This diff dynamically loads the classes from the fully
qualified class name.

This is a fix for github issue #145

Differential Revision: D13604448

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jan 9, 2019
Titousensei added a commit to Titousensei/pytext that referenced this pull request Jan 9, 2019
…rch#196)

Summary:
Pull Request resolved: facebookresearch#196

Custom components are not import-ed in python main, gen_default_config
can't find them. This diff dynamically loads the classes from the fully
qualified class name.

This is a fix for github issue facebookresearch#145

Differential Revision: D13604448

fbshipit-source-id: 12c31a72c81f3dbf12c097fd748a910c258535ae
…rch#196)

Summary:
Pull Request resolved: facebookresearch#196

Custom components are not import-ed in python main, gen_default_config
can't find them. This diff dynamically loads the classes from the fully
qualified class name.

This is a fix for github issue facebookresearch#145

Reviewed By: hikushalhere

Differential Revision: D13604448

fbshipit-source-id: c548f4f9a49c508ed3d258302c9eef1db9fbb688
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants