-
Notifications
You must be signed in to change notification settings - Fork 27
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
Dps Fetch Refactor #009: Unit tests, added, fixed and improved. #1047
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
haakonvt
commented
Sep 30, 2022
haakonvt
commented
Sep 30, 2022
Comment on lines
+59
to
+67
@contextmanager | ||
def tmp_set_envvar(envvar: str, value: str): | ||
old = os.getenv(envvar) | ||
os.environ[envvar] = value | ||
yield | ||
if old is None: | ||
del os.environ[envvar] | ||
else: | ||
os.environ[envvar] = old |
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.
Note to self: isn't this built into pytest already?
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.
Ignoring for now
haakonvt
added a commit
that referenced
this pull request
Oct 4, 2022
commit b317169 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:46:43 2022 +0200 Dps Fetch Refactor #5: New dps fetch code (#1043) * New dps fetch code * typos and tweaks * Update cognite/client/_api/datapoint_tasks.py * forgot self arg... * Fix insertion of DatapointsArray * Make dps retrieve method kwargs only * fstring fix * Fix to avoid float dtype for count agg commit 4e673cb Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:43:13 2022 +0200 Dps Fetch Refactor #9: Unit tests, added, fixed and improved. (#1047) * Unit tests, added, fixed and improved. * add test for split_into_n_parts and find_duplicates commit 8099cb3 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:49 2022 +0200 Integration tests, added, fixed and improved (#1048) commit a049ec4 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:30 2022 +0200 Dps Fetch Refactor #11: Readme, docs and changelog (#1049) * Readme, docs and changelog * Improve changelog * Changelog almost done * Mooooooare changelog details * Apply 12 spell check suggestions from code review * Reword the note about `include_aggregate_name` * Update CHANGELOG.md commit e74699e Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:21:33 2022 +0200 Dps Fetch Refactor #12: Fix `ms_to_datetime` on windows (#1056) * Fix ms_to_datetime for windows * make single ms_to_datetime impl. work on all OSs. remove removed warnings from filterwarnings commit 59aace9 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:11:57 2022 +0200 Dps Fetch Refactor #6: Add array-based data classes. Change camel case defaults (#1044) * Add array-based data classes. Change camel case defaults * No copy in df constructor from numpy arrays yields another 100 x * Update cognite/client/data_classes/datapoints.py * Update cognite/client/data_classes/datapoints.py * remove unnecessary list conv * Remove _strip_aggregate_names entirely commit f0b0525 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:31 2022 +0200 Dps Fetch Refactor #7: Extend utils with new functionality (#1045) * Extend utils with new functionality * add hashable bound to type var commit c281ac0 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:00 2022 +0200 Dps Fetch Refactor #3: Add ThreadPoolExecutor with PriorityQueue (#1041) * Add ThreadPoolExecutor with PriorityQueue * move mypy ignore flag to ini file commit 920cd84 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 13:12:17 2022 +0200 Dps Fetch Refactor #2: Update dependencies and version. Run poetry lock (#1040) * Update dependencies and version. Run poetry lock * relax and tighten dep. reqs * Trim pandas version (no-op) commit f0a69d8 Merge: 6be4b44 7abd1c2 Author: Håkon V. Treider <[email protected]> Date: Thu Sep 29 02:22:23 2022 +0200 Merge branch 'master' into v5-release commit 7abd1c2 Author: Jaime Silva <[email protected]> Date: Wed Sep 28 03:55:39 2022 -0500 Rename alpha data models destination in transformations (#1050) * rename alpha data models to data models * version bump * unskip dms and jobs tests * show warning when using FDMs on transformations commit aa3f52b Author: tuanng-cognite <[email protected]> Date: Tue Sep 27 14:00:50 2022 +0200 geospatial aggregation to support output (#1032) * geospatial aggregation to support output * format * rename * fix deprecation message * improve example commit 6be4b44 Merge: 88c3877 98f5033 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:06:22 2022 +0200 Merge branch 'master' into v5-release commit 88c3877 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:04:20 2022 +0200 Cleanup of CogClient mock duplicates. Update with 20 missing APIs... (#1046) commit 9b30dba Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 02:48:55 2022 +0200 Move DatapointsAPI to time_series.data. Many minor fixups. Bump max_workers to 20. (#1042) commit 98f5033 Author: Håkon V. Treider <[email protected]> Date: Mon Sep 26 19:44:30 2022 +0200 Simplify github workflows. Minor project linting settings changes (#1039) * Simplify GitHub workflows. Minor project linting settings changes
haakonvt
added a commit
that referenced
this pull request
Oct 7, 2022
commit b317169 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:46:43 2022 +0200 Dps Fetch Refactor #5: New dps fetch code (#1043) * New dps fetch code * typos and tweaks * Update cognite/client/_api/datapoint_tasks.py * forgot self arg... * Fix insertion of DatapointsArray * Make dps retrieve method kwargs only * fstring fix * Fix to avoid float dtype for count agg commit 4e673cb Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:43:13 2022 +0200 Dps Fetch Refactor #9: Unit tests, added, fixed and improved. (#1047) * Unit tests, added, fixed and improved. * add test for split_into_n_parts and find_duplicates commit 8099cb3 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:49 2022 +0200 Integration tests, added, fixed and improved (#1048) commit a049ec4 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:30 2022 +0200 Dps Fetch Refactor #11: Readme, docs and changelog (#1049) * Readme, docs and changelog * Improve changelog * Changelog almost done * Mooooooare changelog details * Apply 12 spell check suggestions from code review * Reword the note about `include_aggregate_name` * Update CHANGELOG.md commit e74699e Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:21:33 2022 +0200 Dps Fetch Refactor #12: Fix `ms_to_datetime` on windows (#1056) * Fix ms_to_datetime for windows * make single ms_to_datetime impl. work on all OSs. remove removed warnings from filterwarnings commit 59aace9 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:11:57 2022 +0200 Dps Fetch Refactor #6: Add array-based data classes. Change camel case defaults (#1044) * Add array-based data classes. Change camel case defaults * No copy in df constructor from numpy arrays yields another 100 x * Update cognite/client/data_classes/datapoints.py * Update cognite/client/data_classes/datapoints.py * remove unnecessary list conv * Remove _strip_aggregate_names entirely commit f0b0525 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:31 2022 +0200 Dps Fetch Refactor #7: Extend utils with new functionality (#1045) * Extend utils with new functionality * add hashable bound to type var commit c281ac0 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:00 2022 +0200 Dps Fetch Refactor #3: Add ThreadPoolExecutor with PriorityQueue (#1041) * Add ThreadPoolExecutor with PriorityQueue * move mypy ignore flag to ini file commit 920cd84 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 13:12:17 2022 +0200 Dps Fetch Refactor #2: Update dependencies and version. Run poetry lock (#1040) * Update dependencies and version. Run poetry lock * relax and tighten dep. reqs * Trim pandas version (no-op) commit f0a69d8 Merge: 6be4b44 7abd1c2 Author: Håkon V. Treider <[email protected]> Date: Thu Sep 29 02:22:23 2022 +0200 Merge branch 'master' into v5-release commit 7abd1c2 Author: Jaime Silva <[email protected]> Date: Wed Sep 28 03:55:39 2022 -0500 Rename alpha data models destination in transformations (#1050) * rename alpha data models to data models * version bump * unskip dms and jobs tests * show warning when using FDMs on transformations commit aa3f52b Author: tuanng-cognite <[email protected]> Date: Tue Sep 27 14:00:50 2022 +0200 geospatial aggregation to support output (#1032) * geospatial aggregation to support output * format * rename * fix deprecation message * improve example commit 6be4b44 Merge: 88c3877 98f5033 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:06:22 2022 +0200 Merge branch 'master' into v5-release commit 88c3877 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:04:20 2022 +0200 Cleanup of CogClient mock duplicates. Update with 20 missing APIs... (#1046) commit 9b30dba Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 02:48:55 2022 +0200 Move DatapointsAPI to time_series.data. Many minor fixups. Bump max_workers to 20. (#1042) commit 98f5033 Author: Håkon V. Treider <[email protected]> Date: Mon Sep 26 19:44:30 2022 +0200 Simplify github workflows. Minor project linting settings changes (#1039) * Simplify GitHub workflows. Minor project linting settings changes
haakonvt
added a commit
that referenced
this pull request
Oct 7, 2022
commit b317169 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:46:43 2022 +0200 Dps Fetch Refactor #5: New dps fetch code (#1043) * New dps fetch code * typos and tweaks * Update cognite/client/_api/datapoint_tasks.py * forgot self arg... * Fix insertion of DatapointsArray * Make dps retrieve method kwargs only * fstring fix * Fix to avoid float dtype for count agg commit 4e673cb Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:43:13 2022 +0200 Dps Fetch Refactor #9: Unit tests, added, fixed and improved. (#1047) * Unit tests, added, fixed and improved. * add test for split_into_n_parts and find_duplicates commit 8099cb3 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:49 2022 +0200 Integration tests, added, fixed and improved (#1048) commit a049ec4 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:30 2022 +0200 Dps Fetch Refactor #11: Readme, docs and changelog (#1049) * Readme, docs and changelog * Improve changelog * Changelog almost done * Mooooooare changelog details * Apply 12 spell check suggestions from code review * Reword the note about `include_aggregate_name` * Update CHANGELOG.md commit e74699e Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:21:33 2022 +0200 Dps Fetch Refactor #12: Fix `ms_to_datetime` on windows (#1056) * Fix ms_to_datetime for windows * make single ms_to_datetime impl. work on all OSs. remove removed warnings from filterwarnings commit 59aace9 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:11:57 2022 +0200 Dps Fetch Refactor #6: Add array-based data classes. Change camel case defaults (#1044) * Add array-based data classes. Change camel case defaults * No copy in df constructor from numpy arrays yields another 100 x * Update cognite/client/data_classes/datapoints.py * Update cognite/client/data_classes/datapoints.py * remove unnecessary list conv * Remove _strip_aggregate_names entirely commit f0b0525 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:31 2022 +0200 Dps Fetch Refactor #7: Extend utils with new functionality (#1045) * Extend utils with new functionality * add hashable bound to type var commit c281ac0 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:00 2022 +0200 Dps Fetch Refactor #3: Add ThreadPoolExecutor with PriorityQueue (#1041) * Add ThreadPoolExecutor with PriorityQueue * move mypy ignore flag to ini file commit 920cd84 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 13:12:17 2022 +0200 Dps Fetch Refactor #2: Update dependencies and version. Run poetry lock (#1040) * Update dependencies and version. Run poetry lock * relax and tighten dep. reqs * Trim pandas version (no-op) commit f0a69d8 Merge: 6be4b44 7abd1c2 Author: Håkon V. Treider <[email protected]> Date: Thu Sep 29 02:22:23 2022 +0200 Merge branch 'master' into v5-release commit 7abd1c2 Author: Jaime Silva <[email protected]> Date: Wed Sep 28 03:55:39 2022 -0500 Rename alpha data models destination in transformations (#1050) * rename alpha data models to data models * version bump * unskip dms and jobs tests * show warning when using FDMs on transformations commit aa3f52b Author: tuanng-cognite <[email protected]> Date: Tue Sep 27 14:00:50 2022 +0200 geospatial aggregation to support output (#1032) * geospatial aggregation to support output * format * rename * fix deprecation message * improve example commit 6be4b44 Merge: 88c3877 98f5033 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:06:22 2022 +0200 Merge branch 'master' into v5-release commit 88c3877 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:04:20 2022 +0200 Cleanup of CogClient mock duplicates. Update with 20 missing APIs... (#1046) commit 9b30dba Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 02:48:55 2022 +0200 Move DatapointsAPI to time_series.data. Many minor fixups. Bump max_workers to 20. (#1042) commit 98f5033 Author: Håkon V. Treider <[email protected]> Date: Mon Sep 26 19:44:30 2022 +0200 Simplify github workflows. Minor project linting settings changes (#1039) * Simplify GitHub workflows. Minor project linting settings changes
haakonvt
added a commit
that referenced
this pull request
Oct 10, 2022
commit b317169 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:46:43 2022 +0200 Dps Fetch Refactor #5: New dps fetch code (#1043) * New dps fetch code * typos and tweaks * Update cognite/client/_api/datapoint_tasks.py * forgot self arg... * Fix insertion of DatapointsArray * Make dps retrieve method kwargs only * fstring fix * Fix to avoid float dtype for count agg commit 4e673cb Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:43:13 2022 +0200 Dps Fetch Refactor #9: Unit tests, added, fixed and improved. (#1047) * Unit tests, added, fixed and improved. * add test for split_into_n_parts and find_duplicates commit 8099cb3 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:49 2022 +0200 Integration tests, added, fixed and improved (#1048) commit a049ec4 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:30 2022 +0200 Dps Fetch Refactor #11: Readme, docs and changelog (#1049) * Readme, docs and changelog * Improve changelog * Changelog almost done * Mooooooare changelog details * Apply 12 spell check suggestions from code review * Reword the note about `include_aggregate_name` * Update CHANGELOG.md commit e74699e Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:21:33 2022 +0200 Dps Fetch Refactor #12: Fix `ms_to_datetime` on windows (#1056) * Fix ms_to_datetime for windows * make single ms_to_datetime impl. work on all OSs. remove removed warnings from filterwarnings commit 59aace9 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:11:57 2022 +0200 Dps Fetch Refactor #6: Add array-based data classes. Change camel case defaults (#1044) * Add array-based data classes. Change camel case defaults * No copy in df constructor from numpy arrays yields another 100 x * Update cognite/client/data_classes/datapoints.py * Update cognite/client/data_classes/datapoints.py * remove unnecessary list conv * Remove _strip_aggregate_names entirely commit f0b0525 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:31 2022 +0200 Dps Fetch Refactor #7: Extend utils with new functionality (#1045) * Extend utils with new functionality * add hashable bound to type var commit c281ac0 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:00 2022 +0200 Dps Fetch Refactor #3: Add ThreadPoolExecutor with PriorityQueue (#1041) * Add ThreadPoolExecutor with PriorityQueue * move mypy ignore flag to ini file commit 920cd84 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 13:12:17 2022 +0200 Dps Fetch Refactor #2: Update dependencies and version. Run poetry lock (#1040) * Update dependencies and version. Run poetry lock * relax and tighten dep. reqs * Trim pandas version (no-op) commit f0a69d8 Merge: 6be4b44 7abd1c2 Author: Håkon V. Treider <[email protected]> Date: Thu Sep 29 02:22:23 2022 +0200 Merge branch 'master' into v5-release commit 7abd1c2 Author: Jaime Silva <[email protected]> Date: Wed Sep 28 03:55:39 2022 -0500 Rename alpha data models destination in transformations (#1050) * rename alpha data models to data models * version bump * unskip dms and jobs tests * show warning when using FDMs on transformations commit aa3f52b Author: tuanng-cognite <[email protected]> Date: Tue Sep 27 14:00:50 2022 +0200 geospatial aggregation to support output (#1032) * geospatial aggregation to support output * format * rename * fix deprecation message * improve example commit 6be4b44 Merge: 88c3877 98f5033 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:06:22 2022 +0200 Merge branch 'master' into v5-release commit 88c3877 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:04:20 2022 +0200 Cleanup of CogClient mock duplicates. Update with 20 missing APIs... (#1046) commit 9b30dba Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 02:48:55 2022 +0200 Move DatapointsAPI to time_series.data. Many minor fixups. Bump max_workers to 20. (#1042) commit 98f5033 Author: Håkon V. Treider <[email protected]> Date: Mon Sep 26 19:44:30 2022 +0200 Simplify github workflows. Minor project linting settings changes (#1039) * Simplify GitHub workflows. Minor project linting settings changes
haakonvt
added a commit
that referenced
this pull request
Oct 13, 2022
commit b317169 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:46:43 2022 +0200 Dps Fetch Refactor #5: New dps fetch code (#1043) * New dps fetch code * typos and tweaks * Update cognite/client/_api/datapoint_tasks.py * forgot self arg... * Fix insertion of DatapointsArray * Make dps retrieve method kwargs only * fstring fix * Fix to avoid float dtype for count agg commit 4e673cb Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:43:13 2022 +0200 Dps Fetch Refactor #9: Unit tests, added, fixed and improved. (#1047) * Unit tests, added, fixed and improved. * add test for split_into_n_parts and find_duplicates commit 8099cb3 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:49 2022 +0200 Integration tests, added, fixed and improved (#1048) commit a049ec4 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:30 2022 +0200 Dps Fetch Refactor #11: Readme, docs and changelog (#1049) * Readme, docs and changelog * Improve changelog * Changelog almost done * Mooooooare changelog details * Apply 12 spell check suggestions from code review * Reword the note about `include_aggregate_name` * Update CHANGELOG.md commit e74699e Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:21:33 2022 +0200 Dps Fetch Refactor #12: Fix `ms_to_datetime` on windows (#1056) * Fix ms_to_datetime for windows * make single ms_to_datetime impl. work on all OSs. remove removed warnings from filterwarnings commit 59aace9 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:11:57 2022 +0200 Dps Fetch Refactor #6: Add array-based data classes. Change camel case defaults (#1044) * Add array-based data classes. Change camel case defaults * No copy in df constructor from numpy arrays yields another 100 x * Update cognite/client/data_classes/datapoints.py * Update cognite/client/data_classes/datapoints.py * remove unnecessary list conv * Remove _strip_aggregate_names entirely commit f0b0525 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:31 2022 +0200 Dps Fetch Refactor #7: Extend utils with new functionality (#1045) * Extend utils with new functionality * add hashable bound to type var commit c281ac0 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:00 2022 +0200 Dps Fetch Refactor #3: Add ThreadPoolExecutor with PriorityQueue (#1041) * Add ThreadPoolExecutor with PriorityQueue * move mypy ignore flag to ini file commit 920cd84 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 13:12:17 2022 +0200 Dps Fetch Refactor #2: Update dependencies and version. Run poetry lock (#1040) * Update dependencies and version. Run poetry lock * relax and tighten dep. reqs * Trim pandas version (no-op) commit f0a69d8 Merge: 6be4b44 7abd1c2 Author: Håkon V. Treider <[email protected]> Date: Thu Sep 29 02:22:23 2022 +0200 Merge branch 'master' into v5-release commit 7abd1c2 Author: Jaime Silva <[email protected]> Date: Wed Sep 28 03:55:39 2022 -0500 Rename alpha data models destination in transformations (#1050) * rename alpha data models to data models * version bump * unskip dms and jobs tests * show warning when using FDMs on transformations commit aa3f52b Author: tuanng-cognite <[email protected]> Date: Tue Sep 27 14:00:50 2022 +0200 geospatial aggregation to support output (#1032) * geospatial aggregation to support output * format * rename * fix deprecation message * improve example commit 6be4b44 Merge: 88c3877 98f5033 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:06:22 2022 +0200 Merge branch 'master' into v5-release commit 88c3877 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:04:20 2022 +0200 Cleanup of CogClient mock duplicates. Update with 20 missing APIs... (#1046) commit 9b30dba Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 02:48:55 2022 +0200 Move DatapointsAPI to time_series.data. Many minor fixups. Bump max_workers to 20. (#1042) commit 98f5033 Author: Håkon V. Treider <[email protected]> Date: Mon Sep 26 19:44:30 2022 +0200 Simplify github workflows. Minor project linting settings changes (#1039) * Simplify GitHub workflows. Minor project linting settings changes
haakonvt
added a commit
that referenced
this pull request
Oct 17, 2022
commit b317169 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:46:43 2022 +0200 Dps Fetch Refactor #5: New dps fetch code (#1043) * New dps fetch code * typos and tweaks * Update cognite/client/_api/datapoint_tasks.py * forgot self arg... * Fix insertion of DatapointsArray * Make dps retrieve method kwargs only * fstring fix * Fix to avoid float dtype for count agg commit 4e673cb Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:43:13 2022 +0200 Dps Fetch Refactor #9: Unit tests, added, fixed and improved. (#1047) * Unit tests, added, fixed and improved. * add test for split_into_n_parts and find_duplicates commit 8099cb3 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:49 2022 +0200 Integration tests, added, fixed and improved (#1048) commit a049ec4 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:30 2022 +0200 Dps Fetch Refactor #11: Readme, docs and changelog (#1049) * Readme, docs and changelog * Improve changelog * Changelog almost done * Mooooooare changelog details * Apply 12 spell check suggestions from code review * Reword the note about `include_aggregate_name` * Update CHANGELOG.md commit e74699e Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:21:33 2022 +0200 Dps Fetch Refactor #12: Fix `ms_to_datetime` on windows (#1056) * Fix ms_to_datetime for windows * make single ms_to_datetime impl. work on all OSs. remove removed warnings from filterwarnings commit 59aace9 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:11:57 2022 +0200 Dps Fetch Refactor #6: Add array-based data classes. Change camel case defaults (#1044) * Add array-based data classes. Change camel case defaults * No copy in df constructor from numpy arrays yields another 100 x * Update cognite/client/data_classes/datapoints.py * Update cognite/client/data_classes/datapoints.py * remove unnecessary list conv * Remove _strip_aggregate_names entirely commit f0b0525 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:31 2022 +0200 Dps Fetch Refactor #7: Extend utils with new functionality (#1045) * Extend utils with new functionality * add hashable bound to type var commit c281ac0 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:00 2022 +0200 Dps Fetch Refactor #3: Add ThreadPoolExecutor with PriorityQueue (#1041) * Add ThreadPoolExecutor with PriorityQueue * move mypy ignore flag to ini file commit 920cd84 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 13:12:17 2022 +0200 Dps Fetch Refactor #2: Update dependencies and version. Run poetry lock (#1040) * Update dependencies and version. Run poetry lock * relax and tighten dep. reqs * Trim pandas version (no-op) commit f0a69d8 Merge: 6be4b44 7abd1c2 Author: Håkon V. Treider <[email protected]> Date: Thu Sep 29 02:22:23 2022 +0200 Merge branch 'master' into v5-release commit 7abd1c2 Author: Jaime Silva <[email protected]> Date: Wed Sep 28 03:55:39 2022 -0500 Rename alpha data models destination in transformations (#1050) * rename alpha data models to data models * version bump * unskip dms and jobs tests * show warning when using FDMs on transformations commit aa3f52b Author: tuanng-cognite <[email protected]> Date: Tue Sep 27 14:00:50 2022 +0200 geospatial aggregation to support output (#1032) * geospatial aggregation to support output * format * rename * fix deprecation message * improve example commit 6be4b44 Merge: 88c3877 98f5033 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:06:22 2022 +0200 Merge branch 'master' into v5-release commit 88c3877 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:04:20 2022 +0200 Cleanup of CogClient mock duplicates. Update with 20 missing APIs... (#1046) commit 9b30dba Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 02:48:55 2022 +0200 Move DatapointsAPI to time_series.data. Many minor fixups. Bump max_workers to 20. (#1042) commit 98f5033 Author: Håkon V. Treider <[email protected]> Date: Mon Sep 26 19:44:30 2022 +0200 Simplify github workflows. Minor project linting settings changes (#1039) * Simplify GitHub workflows. Minor project linting settings changes
haakonvt
added a commit
that referenced
this pull request
Nov 20, 2022
commit b317169 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:46:43 2022 +0200 Dps Fetch Refactor #5: New dps fetch code (#1043) * New dps fetch code * typos and tweaks * Update cognite/client/_api/datapoint_tasks.py * forgot self arg... * Fix insertion of DatapointsArray * Make dps retrieve method kwargs only * fstring fix * Fix to avoid float dtype for count agg commit 4e673cb Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:43:13 2022 +0200 Dps Fetch Refactor #9: Unit tests, added, fixed and improved. (#1047) * Unit tests, added, fixed and improved. * add test for split_into_n_parts and find_duplicates commit 8099cb3 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:49 2022 +0200 Integration tests, added, fixed and improved (#1048) commit a049ec4 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:30 2022 +0200 Dps Fetch Refactor #11: Readme, docs and changelog (#1049) * Readme, docs and changelog * Improve changelog * Changelog almost done * Mooooooare changelog details * Apply 12 spell check suggestions from code review * Reword the note about `include_aggregate_name` * Update CHANGELOG.md commit e74699e Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:21:33 2022 +0200 Dps Fetch Refactor #12: Fix `ms_to_datetime` on windows (#1056) * Fix ms_to_datetime for windows * make single ms_to_datetime impl. work on all OSs. remove removed warnings from filterwarnings commit 59aace9 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:11:57 2022 +0200 Dps Fetch Refactor #6: Add array-based data classes. Change camel case defaults (#1044) * Add array-based data classes. Change camel case defaults * No copy in df constructor from numpy arrays yields another 100 x * Update cognite/client/data_classes/datapoints.py * Update cognite/client/data_classes/datapoints.py * remove unnecessary list conv * Remove _strip_aggregate_names entirely commit f0b0525 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:31 2022 +0200 Dps Fetch Refactor #7: Extend utils with new functionality (#1045) * Extend utils with new functionality * add hashable bound to type var commit c281ac0 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:00 2022 +0200 Dps Fetch Refactor #3: Add ThreadPoolExecutor with PriorityQueue (#1041) * Add ThreadPoolExecutor with PriorityQueue * move mypy ignore flag to ini file commit 920cd84 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 13:12:17 2022 +0200 Dps Fetch Refactor #2: Update dependencies and version. Run poetry lock (#1040) * Update dependencies and version. Run poetry lock * relax and tighten dep. reqs * Trim pandas version (no-op) commit f0a69d8 Merge: 6be4b44 7abd1c2 Author: Håkon V. Treider <[email protected]> Date: Thu Sep 29 02:22:23 2022 +0200 Merge branch 'master' into v5-release commit 7abd1c2 Author: Jaime Silva <[email protected]> Date: Wed Sep 28 03:55:39 2022 -0500 Rename alpha data models destination in transformations (#1050) * rename alpha data models to data models * version bump * unskip dms and jobs tests * show warning when using FDMs on transformations commit aa3f52b Author: tuanng-cognite <[email protected]> Date: Tue Sep 27 14:00:50 2022 +0200 geospatial aggregation to support output (#1032) * geospatial aggregation to support output * format * rename * fix deprecation message * improve example commit 6be4b44 Merge: 88c3877 98f5033 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:06:22 2022 +0200 Merge branch 'master' into v5-release commit 88c3877 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:04:20 2022 +0200 Cleanup of CogClient mock duplicates. Update with 20 missing APIs... (#1046) commit 9b30dba Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 02:48:55 2022 +0200 Move DatapointsAPI to time_series.data. Many minor fixups. Bump max_workers to 20. (#1042) commit 98f5033 Author: Håkon V. Treider <[email protected]> Date: Mon Sep 26 19:44:30 2022 +0200 Simplify github workflows. Minor project linting settings changes (#1039) * Simplify GitHub workflows. Minor project linting settings changes
haakonvt
added a commit
that referenced
this pull request
Nov 29, 2022
commit b317169 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:46:43 2022 +0200 Dps Fetch Refactor #5: New dps fetch code (#1043) * New dps fetch code * typos and tweaks * Update cognite/client/_api/datapoint_tasks.py * forgot self arg... * Fix insertion of DatapointsArray * Make dps retrieve method kwargs only * fstring fix * Fix to avoid float dtype for count agg commit 4e673cb Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:43:13 2022 +0200 Dps Fetch Refactor #9: Unit tests, added, fixed and improved. (#1047) * Unit tests, added, fixed and improved. * add test for split_into_n_parts and find_duplicates commit 8099cb3 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:49 2022 +0200 Integration tests, added, fixed and improved (#1048) commit a049ec4 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 01:42:30 2022 +0200 Dps Fetch Refactor #11: Readme, docs and changelog (#1049) * Readme, docs and changelog * Improve changelog * Changelog almost done * Mooooooare changelog details * Apply 12 spell check suggestions from code review * Reword the note about `include_aggregate_name` * Update CHANGELOG.md commit e74699e Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:21:33 2022 +0200 Dps Fetch Refactor #12: Fix `ms_to_datetime` on windows (#1056) * Fix ms_to_datetime for windows * make single ms_to_datetime impl. work on all OSs. remove removed warnings from filterwarnings commit 59aace9 Author: Håkon V. Treider <[email protected]> Date: Tue Oct 4 00:11:57 2022 +0200 Dps Fetch Refactor #6: Add array-based data classes. Change camel case defaults (#1044) * Add array-based data classes. Change camel case defaults * No copy in df constructor from numpy arrays yields another 100 x * Update cognite/client/data_classes/datapoints.py * Update cognite/client/data_classes/datapoints.py * remove unnecessary list conv * Remove _strip_aggregate_names entirely commit f0b0525 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:31 2022 +0200 Dps Fetch Refactor #7: Extend utils with new functionality (#1045) * Extend utils with new functionality * add hashable bound to type var commit c281ac0 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 14:04:00 2022 +0200 Dps Fetch Refactor #3: Add ThreadPoolExecutor with PriorityQueue (#1041) * Add ThreadPoolExecutor with PriorityQueue * move mypy ignore flag to ini file commit 920cd84 Author: Håkon V. Treider <[email protected]> Date: Fri Sep 30 13:12:17 2022 +0200 Dps Fetch Refactor #2: Update dependencies and version. Run poetry lock (#1040) * Update dependencies and version. Run poetry lock * relax and tighten dep. reqs * Trim pandas version (no-op) commit f0a69d8 Merge: 6be4b44 7abd1c2 Author: Håkon V. Treider <[email protected]> Date: Thu Sep 29 02:22:23 2022 +0200 Merge branch 'master' into v5-release commit 7abd1c2 Author: Jaime Silva <[email protected]> Date: Wed Sep 28 03:55:39 2022 -0500 Rename alpha data models destination in transformations (#1050) * rename alpha data models to data models * version bump * unskip dms and jobs tests * show warning when using FDMs on transformations commit aa3f52b Author: tuanng-cognite <[email protected]> Date: Tue Sep 27 14:00:50 2022 +0200 geospatial aggregation to support output (#1032) * geospatial aggregation to support output * format * rename * fix deprecation message * improve example commit 6be4b44 Merge: 88c3877 98f5033 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:06:22 2022 +0200 Merge branch 'master' into v5-release commit 88c3877 Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 03:04:20 2022 +0200 Cleanup of CogClient mock duplicates. Update with 20 missing APIs... (#1046) commit 9b30dba Author: Håkon V. Treider <[email protected]> Date: Tue Sep 27 02:48:55 2022 +0200 Move DatapointsAPI to time_series.data. Many minor fixups. Bump max_workers to 20. (#1042) commit 98f5033 Author: Håkon V. Treider <[email protected]> Date: Mon Sep 26 19:44:30 2022 +0200 Simplify github workflows. Minor project linting settings changes (#1039) * Simplify GitHub workflows. Minor project linting settings changes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.