-
Notifications
You must be signed in to change notification settings - Fork 185
flux_table.py Linting (Bug and FIX) #674
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
Comments
@youarecode thanks for using our client. Is this something you would be willing to help with? All PR is welcome and we will be happy to review your submission. |
You are probably right, but to be honest, that line of code was my first contact with influxdb, Even for simple code I know nothing about the system. :) |
Your code suggestion is fine and correct 👍
Once you’ve submitted the PR, I’ll review it as soon as possible. If there are any further adjustments needed, I’ll provide feedback through the GitHub PR comments. You’re on your way to becoming one of our contributors ;) |
Thx you very much, I'll do it in a couple of hours
…On Mon, Oct 7, 2024, 06:56 Jakub Bednář ***@***.***> wrote:
Your code suggestion is fine and correct 👍
SOLUTION:
Add typing here:
# flux_table.pyclass FluxTable(FluxStructure):
def __init__(self) -> None:
"""Initialize defaults."""
self.columns: List[FluxColumn] = [] #<<<<---- add this typing here
self.records: List[FluxRecord] = [] #<<<<---- add this typing here
Once you’ve submitted the PR, I’ll review it as soon as possible. If there
are any further adjustments needed, I’ll provide feedback through the
GitHub PR comments.
You’re on your way to becoming one of our contributors ;)
—
Reply to this email directly, view it on GitHub
<#674 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BF3NI3QXP2BWOUKLYKJH3MLZ2JLEXAVCNFSM6AAAAABPOMLN7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJWGQ3DCMJUGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Specifications
Code sample to reproduce problem
TableList Typing is not working:
Expected behavior
Linting to work for:
Actual behavior
SOLUTION:
Add typing here:
Additional info
Thank you in advance
The text was updated successfully, but these errors were encountered: