-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RM-43-records_mover-db-mysql-load_options.py-113-1-C901-mysql_load_options-is-too-complex-18 #230
Conversation
RM-43 add helpful spacing RM-43 refactor load options to use param object RM-43 import Tuple RM-43 use tuple class not object RM-43 tuple type hinting RM-43 update typing RM-43 flake error RM-43 fix type hints RM-43 remove trailing whitespace RM-43 start simplifying mysql load options
371eb7c
to
6788fcf
Compare
from the default, it is usually preferable to specify the | ||
character set of the file by using the CHARACTER SET clause. A | ||
character set of binary specifies “no conversion.” | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should also mention that on success, this removes 'encoding' from the load parameters unhandled_hints. its a little weird to do modifications in a "getter" but eh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good point; I'm open to another name. Additionally, PEP conventions suggest to skip get_ names entirely.
Any ideas for prepends? Maybe it'd just be better to skip them.
I think the factoring of logic into I don't love the fact that various I'm also not a fan of moving these functions, especially the |
This all makes sense. If we want to do this, I do want to keep the docstrings so we're going to have to either (in order of preference) 1) make the bigfiles ignore comments or 2) get bigfiles to ignore this file entirely. I'm going to add a ticket to our board for that. |
6e4a8f0
to
24f338f
Compare
When I was looking for how to get bigfiles to ignore setup.py, I saw that there are some files excluded in Edit: I do think the docstrings are great and worth keeping as well. |
Sounds like we might be coming around to the idea that it's just worth getting rid of the bigfiles check |
@Brunope seems like we might actually just be able to add a tag to the bigfiles invocation: I'm going to try this out |
Oh I see, we just invoke quality without actually specifying bigfiles. Damn. |
…py-113-1-C901-mysql_load_options-is-too-complex-18
Alright @Brunope this is now ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great!
No description provided.