Skip to content

Conversation

@koaning
Copy link
Contributor

@koaning koaning commented Dec 27, 2021

Fixes #10587.

@koaning koaning requested a review from a team as a code owner December 27, 2021 13:16
@koaning koaning requested review from wochinge and removed request for a team December 27, 2021 13:16
Copy link
Contributor

@wochinge wochinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💎


rasa.shared.utils.io.create_directory(output_directory)

if not additional_arguments:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we please also add a test to avoid regression?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While writing the test I realized something else.

I'm pretty sure that the model and nlu_data parameters aren't optional as-is either. Can I remove the Optional type here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch 👍🏻 Yeah, but please check the usages of this function then

@stale
Copy link

stale bot commented Apr 16, 2022

This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2022
@stale stale bot removed the stale label Jun 2, 2022
@m-vdb m-vdb enabled auto-merge June 2, 2022 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_nlu breaks when optional value isn't given

4 participants