Skip to content

Conversation

linshokaku
Copy link
Member

@linshokaku linshokaku commented Jul 31, 2023

Remove the out_dir argument of Writer.__call__ since it does not affect the behavior of the program.

cf.

@emcastillo
Copy link
Contributor

emcastillo commented Aug 1, 2023

Discussed offline:

1- This PR is non-compat as some users may directly call writer.save in Extensions or related code
2- In order to avoid disruption there are some alternatives

  • Keep the original interface but add a deprecation warning
  • Make the out_dir parameter optional (None) and use it to override the Writer.out_dir attribute when needed
  • Check the writer's design and think on a large scope if things like out_dir makes sense and how can it affect user codes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants