3f53ea45a17dd29b8ef20db08484e7537c6aa4e3,rasa/cli/run.py,,run,#Any#,34
Before Change
"".format(os.path.abspath(args.model)))
exit(1)
working_directory = tempfile.mkdtemp()
model_path = unpack_model(args.model, working_directory)
_endpoints = AvailableEndpoints.read_endpoints(args.endpoints)
_interpreter = RasaNLUInterpreter(
model_directory=os.path.join(model_path, "nlu"))
_broker = PikaProducer.from_endpoint_config(_endpoints.event_broker)
_tracker_store = TrackerStore.find_tracker_store(
None, _endpoints.tracker_store, _broker)
After Change
def run(args):
model_paths = get_model(args.model, subdirectories=True)
if model_paths is None:
print("No model found for path "{}".".format(args.model))
model_path, core_path, nlu_path = model_paths
_endpoints = AvailableEndpoints.read_endpoints(args.endpoints)
_interpreter = None
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: RasaHQ/rasa
Commit Name: 3f53ea45a17dd29b8ef20db08484e7537c6aa4e3
Time: 2019-02-12
Author: t.wochinger@rasa.com
File Name: rasa/cli/run.py
Class Name:
Method Name: run
Project Name: cve-search/cve-search
Commit Name: 0f2d4db89845b9fe748bb8df19c166ebc937c930
Time: 2020-08-11
Author: paul.tikken@gmail.com
File Name: sbin/db_mgmt_json.py
Class Name: CVEDownloads
Method Name: download_site
Project Name: cve-search/cve-search
Commit Name: 0f2d4db89845b9fe748bb8df19c166ebc937c930
Time: 2020-08-11
Author: paul.tikken@gmail.com
File Name: sbin/db_mgmt_cpe_dictionary.py
Class Name: CPEDownloads
Method Name: download_site