Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Types matching#741

Open
crabio wants to merge2 commits intoinfluxdata:master
base:master
Choose a base branch
Loading
fromcrabio:types_matching
Open

Conversation

crabio
Copy link

Add function intowrite_points to getfields types of measurement, before downloading, and if field exists, convert to existed type.
This feature is very usefull if you don't care about typing your date, when download and can will avoid error with types mismatch if you try to loadfloat intointeger field.

P.S. As bonus I add VSCode files into gitignore.

@@ -21,3 +21,4 @@ docs/build/
.coverage
cover
env
.vscode
Copy link
Collaborator

@aviauaviauJul 29, 2019
edited
Loading

Choose a reason for hiding this comment

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

This should be in your system's global .gitignore.

It does not make sense to add every single file created by every single editor in existence to every single project's gitignore.

Look atthis article for help on ignoring files with git.

Copy link
Author

Choose a reason for hiding this comment

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

Okey, thanks for link!

@aviau
Copy link
Collaborator

Thanks for contributing!

Please add a test so that we consider to merge the patch.

Also, please make it optional as it could bread existing uses of the library.

Copy link
Contributor

@sebito91sebito91 left a comment

Choose a reason for hiding this comment

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

I'd like to think about merging these changes with the changes from#779, especially since you're adding aSHOW FIELD KEYS function.

We should split out theSHOW FIELD KEYS to a separate function, but I like the idea of returning the dict with types for each key.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@aviauaviauaviau left review comments

@sebito91sebito91sebito91 requested changes

@xginn8xginn8Awaiting requested review from xginn8xginn8 is a code owner

Assignees

@sebito91sebito91

Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@crabio@aviau@sebito91@xginn8

[8]ページ先頭

©2009-2025 Movatter.jp