Skip to content

Commit

Permalink
Release 0.2.2 (#668)
Browse files Browse the repository at this point in the history
# Description

Please describe the change you have made.

## Checklist

- [ ] Tests added/updated.
- [ ] Run Demo Job Locally.
- [ ] Documentation updated.
- [ ] Changelogs updated in
[CHANGELOG.cdf-tk.md](https://github.com/cognitedata/toolkit/blob/main/CHANGELOG.cdf-tk.md).
- [ ] Template changelogs updated in
[CHANGELOG.templates.md](https://github.com/cognitedata/toolkit/blob/main/CHANGELOG.templates.md).
- [ ] Version bumped.

[_version.py](https://github.com/cognitedata/toolkit/blob/main/cognite/cognite_toolkit/_version.py)
and

[pyproject.toml](https://github.com/cognitedata/toolkit/blob/main/pyproject.toml)
per [semantic versioning](https://semver.org/).
  • Loading branch information
doctrino authored Jun 18, 2024
2 parents e2da7f1 + 930e393 commit 42a09ea
Show file tree
Hide file tree
Showing 22 changed files with 591 additions and 431 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
- --fixable=E,W,F,I,T,RUF,TID,UP
- --target-version=py39
- id: ruff-format
rev: v0.4.8
rev: v0.4.9

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
Expand Down
348 changes: 173 additions & 175 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,177 +1,175 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: build",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
"--verbose",
"--override-env",
"build",
"--build-dir=build",
"--env=local",
"./cognite_toolkit/"
],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: deploy",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
"deploy",
"--dry-run",
//"--drop",
//"--drop-data",
"--env=local",
//"--include=transformations",
"./build"
],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: clean",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
"clean",
//"--dry-run",
"--env=local",
//"--include=transformations"
],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: auth verify",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
"--override-env",
"auth",
"verify",
],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: cdf.py",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
//"--project=TEST",
"run",
"function",
"--external_id=fn_test2",
"--local",
"--env=local",
"./cognite_toolkit/"
],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: P&ID annotation function test",
"type": "debugpy",
"request": "launch",
"program": "./cognite_toolkit/cognite_modules/examples/cdf_data_pipeline_files_valhall/functions/fn_context_files_oid_fileshare_annotation/handler.py",
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: TS - Asset Contextualization function test",
"type": "debugpy",
"request": "launch",
"program": "./cognite_toolkit/cognite_modules/examples/cdf_data_pipeline_timeseries_valhall/functions/fn_context_timeseries_oid_opcua_asset/handler.py",
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: TS - Star of workflow test",
"type": "debugpy",
"request": "launch",
"program": "./cognite_toolkit/cognite_modules/examples/cdf_data_pipeline_files_valhall/functions/fn_workflow_files_oid_fileshare_annotation/handler.py",
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: init",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
"init",
//"--dry-run",
//"--env=local",
//"--include=transformations"
//"--init-dir=foo",
//"--help",
//"--package=quickstart"
//"--package=empty",
],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: feature flags",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
"features",
"list",
],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: feature flag set",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
"features",
"set",
"--flag=interactive_init",
"--enabled=true",

],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: feature flags reset",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
"features",
"reset",
],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: modules init",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
"modules",
"init" ],
"console": "integratedTerminal",
"justMyCode": false
},
]
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
},
{
"name": "Python: build",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
"--verbose",
"--override-env",
"build",
"--build-dir=build",
"--env=local",
"./cognite_toolkit/"
],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: deploy",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
"deploy",
"--dry-run",
//"--drop",
//"--drop-data",
"--env=local",
//"--include=transformations",
"./build"
],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: clean",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
"clean",
//"--dry-run",
"--env=local"
//"--include=transformations"
],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: auth verify",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": ["--override-env", "auth", "verify"],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: cdf.py",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
//"--project=TEST",
"run",
"function",
"--external_id=fn_test2",
"--local",
"--env=local",
"./cognite_toolkit/"
],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: P&ID annotation function test",
"type": "debugpy",
"request": "launch",
"program": "./cognite_toolkit/cognite_modules/examples/cdf_data_pipeline_files_valhall/functions/fn_context_files_oid_fileshare_annotation/handler.py",
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: TS - Asset Contextualization function test",
"type": "debugpy",
"request": "launch",
"program": "./cognite_toolkit/cognite_modules/examples/cdf_data_pipeline_timeseries_valhall/functions/fn_context_timeseries_oid_opcua_asset/handler.py",
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: TS - Star of workflow test",
"type": "debugpy",
"request": "launch",
"program": "./cognite_toolkit/cognite_modules/examples/cdf_data_pipeline_files_valhall/functions/fn_workflow_files_oid_fileshare_annotation/handler.py",
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: init",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": [
"init"
//"--dry-run",
//"--env=local",
//"--include=transformations"
//"--init-dir=foo",
//"--help",
//"--package=quickstart"
//"--package=empty",
],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: feature flags",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": ["features", "list"],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: feature flag set",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": ["features", "set", "--flag=interactive_init", "--enabled=true"],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: feature flags reset",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": ["features", "reset"],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: modules init",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": ["modules", "init", "new_project"],
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: modules upgrade",
"type": "debugpy",
"request": "launch",
"program": "./cdf-tk-dev.py",
"args": ["modules", "upgrade", "./cognite_toolkit"],
"console": "integratedTerminal",
"justMyCode": false
}
]
}
Loading

0 comments on commit 42a09ea

Please sign in to comment.