diff --git a/.devcontainer/post-create.sh b/.devcontainer/post-create.sh index 46297a55..170f9f2f 100755 --- a/.devcontainer/post-create.sh +++ b/.devcontainer/post-create.sh @@ -1,4 +1,7 @@ #!/bin/sh +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + DOCKER_VERSION=24.0.2 VSCODE_HOME=/home/vscode diff --git a/ops/admag/admag_seasonal_field_op.py b/ops/admag/admag_seasonal_field_op.py index 12c98100..e2513fc8 100644 --- a/ops/admag/admag_seasonal_field_op.py +++ b/ops/admag/admag_seasonal_field_op.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from typing import Any, Dict, Tuple diff --git a/ops/admag/get_prescription.py b/ops/admag/get_prescription.py index 4b4c9101..5bf9ff41 100644 --- a/ops/admag/get_prescription.py +++ b/ops/admag/get_prescription.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Dict from vibe_core.admag_client import ADMAgClient diff --git a/ops/admag/list_prescriptions.py b/ops/admag/list_prescriptions.py index d88ed8f0..cb89004f 100644 --- a/ops/admag/list_prescriptions.py +++ b/ops/admag/list_prescriptions.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, Dict, List, Tuple from vibe_core.admag_client import ADMAgClient diff --git a/ops/admag/prescriptions.py b/ops/admag/prescriptions.py index 06de40a3..2917d62b 100644 --- a/ops/admag/prescriptions.py +++ b/ops/admag/prescriptions.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from tempfile import TemporaryDirectory from typing import Any, Dict, List, Tuple diff --git a/ops/admag/test_admag.py b/ops/admag/test_admag.py index f21357a1..770e3bfa 100644 --- a/ops/admag/test_admag.py +++ b/ops/admag/test_admag.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import copy import json import os diff --git a/ops/aggregate_statistics_timeseries/aggregate_timeseries.py b/ops/aggregate_statistics_timeseries/aggregate_timeseries.py index d353fb3b..ef2e245b 100644 --- a/ops/aggregate_statistics_timeseries/aggregate_timeseries.py +++ b/ops/aggregate_statistics_timeseries/aggregate_timeseries.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Dict, List, cast diff --git a/ops/carbon_local/test_whatif.py b/ops/carbon_local/test_whatif.py index edab312e..e8e45af3 100644 --- a/ops/carbon_local/test_whatif.py +++ b/ops/carbon_local/test_whatif.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from typing import List diff --git a/ops/carbon_local/whatif_comet_local.py b/ops/carbon_local/whatif_comet_local.py index 96546842..d6bfd337 100644 --- a/ops/carbon_local/whatif_comet_local.py +++ b/ops/carbon_local/whatif_comet_local.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import xml.etree.ElementTree as ET from datetime import datetime, timezone from typing import Any, Dict, List diff --git a/ops/chunk_raster/chunk_raster.py b/ops/chunk_raster/chunk_raster.py index a25edcc2..9c51873e 100644 --- a/ops/chunk_raster/chunk_raster.py +++ b/ops/chunk_raster/chunk_raster.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from typing import Any, Dict, List, Tuple, Union diff --git a/ops/clip_raster/clip_raster.py b/ops/clip_raster/clip_raster.py index 9f083dee..c9762a18 100644 --- a/ops/clip_raster/clip_raster.py +++ b/ops/clip_raster/clip_raster.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import os from tempfile import TemporaryDirectory diff --git a/ops/combine_chunks/combine_chunks.py b/ops/combine_chunks/combine_chunks.py index c7ae7931..cf5955e4 100644 --- a/ops/combine_chunks/combine_chunks.py +++ b/ops/combine_chunks/combine_chunks.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib import logging import mimetypes diff --git a/ops/compute_cloud_prob/compute_cloud_prob.py b/ops/compute_cloud_prob/compute_cloud_prob.py index d3ab8465..ff4a6fe8 100644 --- a/ops/compute_cloud_prob/compute_cloud_prob.py +++ b/ops/compute_cloud_prob/compute_cloud_prob.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Any, Dict diff --git a/ops/compute_cloud_water_mask/compute_cloud_water_mask.py b/ops/compute_cloud_water_mask/compute_cloud_water_mask.py index 7df295b8..f687e000 100644 --- a/ops/compute_cloud_water_mask/compute_cloud_water_mask.py +++ b/ops/compute_cloud_water_mask/compute_cloud_water_mask.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Dict diff --git a/ops/compute_conservation_practice/compute_conservation_practice.py b/ops/compute_conservation_practice/compute_conservation_practice.py index 0f6e6352..4865f11e 100644 --- a/ops/compute_conservation_practice/compute_conservation_practice.py +++ b/ops/compute_conservation_practice/compute_conservation_practice.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Any, Dict diff --git a/ops/compute_evaporative_fraction/compute_evaporative_fraction.py b/ops/compute_evaporative_fraction/compute_evaporative_fraction.py index 0d74d261..7adb7f70 100644 --- a/ops/compute_evaporative_fraction/compute_evaporative_fraction.py +++ b/ops/compute_evaporative_fraction/compute_evaporative_fraction.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Any, Dict, cast diff --git a/ops/compute_fcover/fcover.py b/ops/compute_fcover/fcover.py index 7618b018..9766a9a3 100644 --- a/ops/compute_fcover/fcover.py +++ b/ops/compute_fcover/fcover.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """ FCOVER computation using a neural network as described in https://step.esa.int/docs/extra/ATBD_S2ToolBox_L2B_V1.1.pdf diff --git a/ops/compute_ghg_fluxes/compute_ghg_fluxes.py b/ops/compute_ghg_fluxes/compute_ghg_fluxes.py index 53b704ef..137665a4 100644 --- a/ops/compute_ghg_fluxes/compute_ghg_fluxes.py +++ b/ops/compute_ghg_fluxes/compute_ghg_fluxes.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from copy import copy from dataclasses import asdict, dataclass from enum import Enum, IntEnum, auto diff --git a/ops/compute_ghg_fluxes/test_ghg_fluxes.py b/ops/compute_ghg_fluxes/test_ghg_fluxes.py index 4c7bee80..73264f64 100644 --- a/ops/compute_ghg_fluxes/test_ghg_fluxes.py +++ b/ops/compute_ghg_fluxes/test_ghg_fluxes.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from math import isclose diff --git a/ops/compute_illuminance/compute_illuminance.py b/ops/compute_illuminance/compute_illuminance.py index 90b14eb0..e36a78a5 100644 --- a/ops/compute_illuminance/compute_illuminance.py +++ b/ops/compute_illuminance/compute_illuminance.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # pyright: reportUnknownMemberType=false from typing import Dict, List, Union, cast diff --git a/ops/compute_index/index.py b/ops/compute_index/index.py index f6eefda4..f9851bac 100644 --- a/ops/compute_index/index.py +++ b/ops/compute_index/index.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from collections import defaultdict from tempfile import TemporaryDirectory from typing import Any, Callable, Dict, List, cast diff --git a/ops/compute_index/test_index.py b/ops/compute_index/test_index.py index 114daa98..30eb4c72 100644 --- a/ops/compute_index/test_index.py +++ b/ops/compute_index/test_index.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from tempfile import TemporaryDirectory diff --git a/ops/compute_irrigation_probability/compute_irrigation_probability.py b/ops/compute_irrigation_probability/compute_irrigation_probability.py index b13fb3e2..04f0f9fb 100644 --- a/ops/compute_irrigation_probability/compute_irrigation_probability.py +++ b/ops/compute_irrigation_probability/compute_irrigation_probability.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Dict diff --git a/ops/compute_ngi_egi_layers/compute_ngi_egi_layers.py b/ops/compute_ngi_egi_layers/compute_ngi_egi_layers.py index c2a529d6..ad7d2c38 100644 --- a/ops/compute_ngi_egi_layers/compute_ngi_egi_layers.py +++ b/ops/compute_ngi_egi_layers/compute_ngi_egi_layers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Dict diff --git a/ops/compute_onnx/compute_onnx.py b/ops/compute_onnx/compute_onnx.py index e4294a47..25d4fe66 100644 --- a/ops/compute_onnx/compute_onnx.py +++ b/ops/compute_onnx/compute_onnx.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Dict, List, Optional, Union diff --git a/ops/compute_onnx/test_compute_onnx.py b/ops/compute_onnx/test_compute_onnx.py index eeb173b9..148571f7 100644 --- a/ops/compute_onnx/test_compute_onnx.py +++ b/ops/compute_onnx/test_compute_onnx.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os from datetime import datetime, timedelta diff --git a/ops/compute_onnx/test_compute_onnx_chunk.py b/ops/compute_onnx/test_compute_onnx_chunk.py index 8ec5922b..f487073c 100644 --- a/ops/compute_onnx/test_compute_onnx_chunk.py +++ b/ops/compute_onnx/test_compute_onnx_chunk.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timedelta from pathlib import Path diff --git a/ops/compute_pixel_count/compute_pixel_count.py b/ops/compute_pixel_count/compute_pixel_count.py index 110fbe79..a6910254 100644 --- a/ops/compute_pixel_count/compute_pixel_count.py +++ b/ops/compute_pixel_count/compute_pixel_count.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Any, Dict diff --git a/ops/compute_pixel_count/test_compute_pixel_count.py b/ops/compute_pixel_count/test_compute_pixel_count.py index 138a00c0..5016dc5f 100644 --- a/ops/compute_pixel_count/test_compute_pixel_count.py +++ b/ops/compute_pixel_count/test_compute_pixel_count.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from typing import cast diff --git a/ops/compute_raster_class_windowed_average/compute_raster_class_windowed_average.py b/ops/compute_raster_class_windowed_average/compute_raster_class_windowed_average.py index 3ef7c532..e83fdacd 100644 --- a/ops/compute_raster_class_windowed_average/compute_raster_class_windowed_average.py +++ b/ops/compute_raster_class_windowed_average/compute_raster_class_windowed_average.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from tempfile import TemporaryDirectory from typing import Any, Dict, List diff --git a/ops/compute_raster_cluster/compute_raster_cluster.py b/ops/compute_raster_cluster/compute_raster_cluster.py index 9dfbe2ab..1537d990 100644 --- a/ops/compute_raster_cluster/compute_raster_cluster.py +++ b/ops/compute_raster_cluster/compute_raster_cluster.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from tempfile import TemporaryDirectory from typing import Any, Dict diff --git a/ops/compute_raster_gradient/compute_raster_gradient.py b/ops/compute_raster_gradient/compute_raster_gradient.py index e6fc94cf..d1e35255 100644 --- a/ops/compute_raster_gradient/compute_raster_gradient.py +++ b/ops/compute_raster_gradient/compute_raster_gradient.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os from tempfile import TemporaryDirectory diff --git a/ops/compute_shadow_prob/compute_shadow_prob.py b/ops/compute_shadow_prob/compute_shadow_prob.py index 6a6880eb..3576693b 100644 --- a/ops/compute_shadow_prob/compute_shadow_prob.py +++ b/ops/compute_shadow_prob/compute_shadow_prob.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Any, Dict diff --git a/ops/create_raster_sequence/create_raster_sequence.py b/ops/create_raster_sequence/create_raster_sequence.py index 5042c754..14d681ea 100644 --- a/ops/create_raster_sequence/create_raster_sequence.py +++ b/ops/create_raster_sequence/create_raster_sequence.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from typing import Any, Dict, List, Tuple, Union diff --git a/ops/datavibe_filter/datavibe_filter.py b/ops/datavibe_filter/datavibe_filter.py index 84d0d0ba..96bdaa44 100644 --- a/ops/datavibe_filter/datavibe_filter.py +++ b/ops/datavibe_filter/datavibe_filter.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from functools import partial from typing import Dict diff --git a/ops/detect_driveway/detect_driveway.py b/ops/detect_driveway/detect_driveway.py index db1e69ce..cb56cf65 100644 --- a/ops/detect_driveway/detect_driveway.py +++ b/ops/detect_driveway/detect_driveway.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Any, Dict, List, Optional, Tuple, cast diff --git a/ops/detect_outliers/detect_outliers.py b/ops/detect_outliers/detect_outliers.py index 68f2d176..c35bffa5 100644 --- a/ops/detect_outliers/detect_outliers.py +++ b/ops/detect_outliers/detect_outliers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from tempfile import TemporaryDirectory from typing import Any, Callable, Dict, List, Sequence, Tuple, Union, cast diff --git a/ops/download_airbus/download_airbus.py b/ops/download_airbus/download_airbus.py index 9ed1d39d..f7bc601a 100644 --- a/ops/download_airbus/download_airbus.py +++ b/ops/download_airbus/download_airbus.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import re from datetime import datetime from tempfile import TemporaryDirectory diff --git a/ops/download_alos/download_alos.py b/ops/download_alos/download_alos.py index a1fe00d9..66227133 100644 --- a/ops/download_alos/download_alos.py +++ b/ops/download_alos/download_alos.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Dict diff --git a/ops/download_alos/test_download_alos.py b/ops/download_alos/test_download_alos.py index 540eb555..3ae53dc8 100644 --- a/ops/download_alos/test_download_alos.py +++ b/ops/download_alos/test_download_alos.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from typing import cast diff --git a/ops/download_ambient_weather/download_ambient_weather.py b/ops/download_ambient_weather/download_ambient_weather.py index c55e3321..8353af4a 100644 --- a/ops/download_ambient_weather/download_ambient_weather.py +++ b/ops/download_ambient_weather/download_ambient_weather.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import mimetypes import os diff --git a/ops/download_bing_basemap/download_bing_basemap.py b/ops/download_bing_basemap/download_bing_basemap.py index acfc7bd1..ac90533f 100644 --- a/ops/download_bing_basemap/download_bing_basemap.py +++ b/ops/download_bing_basemap/download_bing_basemap.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib import os from tempfile import TemporaryDirectory diff --git a/ops/download_bing_basemap/test_download_bing_basemap.py b/ops/download_bing_basemap/test_download_bing_basemap.py index 865e98b8..9c506b59 100644 --- a/ops/download_bing_basemap/test_download_bing_basemap.py +++ b/ops/download_bing_basemap/test_download_bing_basemap.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from unittest.mock import MagicMock, patch diff --git a/ops/download_cdl_data/download_cdl.py b/ops/download_cdl_data/download_cdl.py index 6085c660..02d1e1da 100644 --- a/ops/download_cdl_data/download_cdl.py +++ b/ops/download_cdl_data/download_cdl.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os from tempfile import TemporaryDirectory diff --git a/ops/download_cdl_data/download_cdl_data.py b/ops/download_cdl_data/download_cdl_data.py index 8c6eb7bc..1bf4c98f 100644 --- a/ops/download_cdl_data/download_cdl_data.py +++ b/ops/download_cdl_data/download_cdl_data.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os import xml.etree.ElementTree as ET diff --git a/ops/download_chirps/download_chirps.py b/ops/download_chirps/download_chirps.py index 30f65c09..37369df0 100644 --- a/ops/download_chirps/download_chirps.py +++ b/ops/download_chirps/download_chirps.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import os import re diff --git a/ops/download_climatology_lab/download_climatology_lab.py b/ops/download_climatology_lab/download_climatology_lab.py index 16181ca1..6bfcf227 100644 --- a/ops/download_climatology_lab/download_climatology_lab.py +++ b/ops/download_climatology_lab/download_climatology_lab.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os from tempfile import TemporaryDirectory diff --git a/ops/download_climatology_lab/test_download_climatology_lab.py b/ops/download_climatology_lab/test_download_climatology_lab.py index 705965e2..6d8b9a02 100644 --- a/ops/download_climatology_lab/test_download_climatology_lab.py +++ b/ops/download_climatology_lab/test_download_climatology_lab.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from unittest.mock import MagicMock, patch diff --git a/ops/download_dem/download_dem.py b/ops/download_dem/download_dem.py index 64905300..e37990e0 100644 --- a/ops/download_dem/download_dem.py +++ b/ops/download_dem/download_dem.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os from tempfile import TemporaryDirectory diff --git a/ops/download_dem/test_download_dem.py b/ops/download_dem/test_download_dem.py index 64893a18..6663847c 100644 --- a/ops/download_dem/test_download_dem.py +++ b/ops/download_dem/test_download_dem.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from unittest.mock import MagicMock, patch diff --git a/ops/download_era5/download_era5.py b/ops/download_era5/download_era5.py index 7460e11c..75d46395 100644 --- a/ops/download_era5/download_era5.py +++ b/ops/download_era5/download_era5.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import mimetypes import os diff --git a/ops/download_esri_landuse_landcover/download_esri_landuse_landcover.py b/ops/download_esri_landuse_landcover/download_esri_landuse_landcover.py index 230b0fc7..29f958bd 100644 --- a/ops/download_esri_landuse_landcover/download_esri_landuse_landcover.py +++ b/ops/download_esri_landuse_landcover/download_esri_landuse_landcover.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os from tempfile import TemporaryDirectory diff --git a/ops/download_esri_landuse_landcover/test_download_esri_landuse_landcover.py b/ops/download_esri_landuse_landcover/test_download_esri_landuse_landcover.py index 950cad34..9068a0cf 100644 --- a/ops/download_esri_landuse_landcover/test_download_esri_landuse_landcover.py +++ b/ops/download_esri_landuse_landcover/test_download_esri_landuse_landcover.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from unittest.mock import MagicMock, patch diff --git a/ops/download_from_ref/download_from_ref.py b/ops/download_from_ref/download_from_ref.py index b9af2ac9..d63cae43 100644 --- a/ops/download_from_ref/download_from_ref.py +++ b/ops/download_from_ref/download_from_ref.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib import mimetypes import os diff --git a/ops/download_from_smb/download_rasters_from_smb.py b/ops/download_from_smb/download_rasters_from_smb.py index 4a0fe263..12ede0b0 100644 --- a/ops/download_from_smb/download_rasters_from_smb.py +++ b/ops/download_from_smb/download_rasters_from_smb.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes from pathlib import Path from tempfile import TemporaryDirectory diff --git a/ops/download_gedi_product/download_gedi_product.py b/ops/download_gedi_product/download_gedi_product.py index 1359a652..6e8eead8 100644 --- a/ops/download_gedi_product/download_gedi_product.py +++ b/ops/download_gedi_product/download_gedi_product.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import os from tempfile import TemporaryDirectory diff --git a/ops/download_gedi_product/test_download_gedi_product.py b/ops/download_gedi_product/test_download_gedi_product.py index 69c070d9..73a371bc 100644 --- a/ops/download_gedi_product/test_download_gedi_product.py +++ b/ops/download_gedi_product/test_download_gedi_product.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from typing import Any, cast diff --git a/ops/download_glad_data/download_glad.py b/ops/download_glad_data/download_glad.py index 3cd2f2b0..e567d445 100644 --- a/ops/download_glad_data/download_glad.py +++ b/ops/download_glad_data/download_glad.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os from tempfile import TemporaryDirectory diff --git a/ops/download_glad_data/test_download_glad_product.py b/ops/download_glad_data/test_download_glad_product.py index 34c1dfc8..dcb6211a 100644 --- a/ops/download_glad_data/test_download_glad_product.py +++ b/ops/download_glad_data/test_download_glad_product.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from typing import cast diff --git a/ops/download_gnatsgo/download_gnatsgo_raster.py b/ops/download_gnatsgo/download_gnatsgo_raster.py index 4663e874..bb25eefc 100644 --- a/ops/download_gnatsgo/download_gnatsgo_raster.py +++ b/ops/download_gnatsgo/download_gnatsgo_raster.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Dict, Optional diff --git a/ops/download_gnatsgo/test_download_gnatsgo.py b/ops/download_gnatsgo/test_download_gnatsgo.py index 5e621e7f..d36c8422 100644 --- a/ops/download_gnatsgo/test_download_gnatsgo.py +++ b/ops/download_gnatsgo/test_download_gnatsgo.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from unittest.mock import MagicMock, patch diff --git a/ops/download_hansen/download_hansen.py b/ops/download_hansen/download_hansen.py index 9a6e43b0..058e8199 100644 --- a/ops/download_hansen/download_hansen.py +++ b/ops/download_hansen/download_hansen.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os from tempfile import TemporaryDirectory diff --git a/ops/download_hansen/test_download_hansen_product.py b/ops/download_hansen/test_download_hansen_product.py index 8ced9f4f..20ecc5fa 100644 --- a/ops/download_hansen/test_download_hansen_product.py +++ b/ops/download_hansen/test_download_hansen_product.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from typing import List, cast diff --git a/ops/download_herbie/download_herbie.py b/ops/download_herbie/download_herbie.py index ebf4e567..0bc06504 100644 --- a/ops/download_herbie/download_herbie.py +++ b/ops/download_herbie/download_herbie.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import timedelta from tempfile import TemporaryDirectory from typing import Dict, Optional diff --git a/ops/download_herbie/forecast_range_split.py b/ops/download_herbie/forecast_range_split.py index b152f106..2d1df602 100644 --- a/ops/download_herbie/forecast_range_split.py +++ b/ops/download_herbie/forecast_range_split.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Dict, List import pandas as pd diff --git a/ops/download_herbie/forecast_weather.py b/ops/download_herbie/forecast_weather.py index 20e6282c..219c3b50 100644 --- a/ops/download_herbie/forecast_weather.py +++ b/ops/download_herbie/forecast_weather.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import shutil import tempfile diff --git a/ops/download_landsat_from_pc/download_landsat_pc.py b/ops/download_landsat_from_pc/download_landsat_pc.py index 3778b948..d5e7feea 100644 --- a/ops/download_landsat_from_pc/download_landsat_pc.py +++ b/ops/download_landsat_from_pc/download_landsat_pc.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from tempfile import TemporaryDirectory from typing import Dict, Optional diff --git a/ops/download_modis_sr/download_modis_sr.py b/ops/download_modis_sr/download_modis_sr.py index c1b328d7..bc2d9c7e 100644 --- a/ops/download_modis_sr/download_modis_sr.py +++ b/ops/download_modis_sr/download_modis_sr.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from tempfile import TemporaryDirectory from typing import Dict, Optional diff --git a/ops/download_modis_vegetation/download_modis_vegetation.py b/ops/download_modis_vegetation/download_modis_vegetation.py index f6afa9fe..e4b7f7ec 100644 --- a/ops/download_modis_vegetation/download_modis_vegetation.py +++ b/ops/download_modis_vegetation/download_modis_vegetation.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from tempfile import TemporaryDirectory from typing import Dict, Optional diff --git a/ops/download_modis_vegetation/test_download_modis_vegetation.py b/ops/download_modis_vegetation/test_download_modis_vegetation.py index 8c1079ff..46508c0a 100644 --- a/ops/download_modis_vegetation/test_download_modis_vegetation.py +++ b/ops/download_modis_vegetation/test_download_modis_vegetation.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from unittest.mock import MagicMock, patch diff --git a/ops/download_naip/download_naip.py b/ops/download_naip/download_naip.py index 23682e75..b14c3e29 100644 --- a/ops/download_naip/download_naip.py +++ b/ops/download_naip/download_naip.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os from tempfile import TemporaryDirectory diff --git a/ops/download_naip/test_download_naip.py b/ops/download_naip/test_download_naip.py index 49f7931e..48131738 100644 --- a/ops/download_naip/test_download_naip.py +++ b/ops/download_naip/test_download_naip.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from unittest.mock import MagicMock, patch diff --git a/ops/download_road_geometries/download_road_geometries.py b/ops/download_road_geometries/download_road_geometries.py index 0c30c766..a1142c31 100644 --- a/ops/download_road_geometries/download_road_geometries.py +++ b/ops/download_road_geometries/download_road_geometries.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Dict, cast diff --git a/ops/download_sentinel1/download_sentinel1_rtc.py b/ops/download_sentinel1/download_sentinel1_rtc.py index d5dea014..46c351fd 100644 --- a/ops/download_sentinel1/download_sentinel1_rtc.py +++ b/ops/download_sentinel1/download_sentinel1_rtc.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import os from concurrent.futures import TimeoutError diff --git a/ops/download_sentinel1/test_download_sentinel1_rtc.py b/ops/download_sentinel1/test_download_sentinel1_rtc.py index 2e99bd64..5648e94e 100644 --- a/ops/download_sentinel1/test_download_sentinel1_rtc.py +++ b/ops/download_sentinel1/test_download_sentinel1_rtc.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from pathlib import Path diff --git a/ops/download_sentinel1_grd/download_sentinel1_grd.py b/ops/download_sentinel1_grd/download_sentinel1_grd.py index 6e06c65e..66f16fa1 100644 --- a/ops/download_sentinel1_grd/download_sentinel1_grd.py +++ b/ops/download_sentinel1_grd/download_sentinel1_grd.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import os import shutil diff --git a/ops/download_sentinel1_grd/test_download_sentinel1.py b/ops/download_sentinel1_grd/test_download_sentinel1.py index e1d14290..798f36c1 100644 --- a/ops/download_sentinel1_grd/test_download_sentinel1.py +++ b/ops/download_sentinel1_grd/test_download_sentinel1.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from unittest.mock import Mock, patch diff --git a/ops/download_sentinel2_from_pc/download_s2_pc.py b/ops/download_sentinel2_from_pc/download_s2_pc.py index c327ffc0..f47fa23a 100644 --- a/ops/download_sentinel2_from_pc/download_s2_pc.py +++ b/ops/download_sentinel2_from_pc/download_s2_pc.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import os import re diff --git a/ops/download_soilgrids/download_soilgrids.py b/ops/download_soilgrids/download_soilgrids.py index c4a7adf2..db48457d 100644 --- a/ops/download_soilgrids/download_soilgrids.py +++ b/ops/download_soilgrids/download_soilgrids.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import mimetypes import os diff --git a/ops/download_stack_sentinel2/download_stack_s2.py b/ops/download_stack_sentinel2/download_stack_s2.py index 381790fa..47819cde 100644 --- a/ops/download_stack_sentinel2/download_stack_s2.py +++ b/ops/download_stack_sentinel2/download_stack_s2.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib import logging import os diff --git a/ops/download_usda_soils/download_usda_soils.py b/ops/download_usda_soils/download_usda_soils.py index d31c8bba..9c52bc02 100644 --- a/ops/download_usda_soils/download_usda_soils.py +++ b/ops/download_usda_soils/download_usda_soils.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import zipfile from datetime import datetime diff --git a/ops/ensemble_cloud_prob/ensemble_cloud_prob.py b/ops/ensemble_cloud_prob/ensemble_cloud_prob.py index 50367e97..86529f16 100644 --- a/ops/ensemble_cloud_prob/ensemble_cloud_prob.py +++ b/ops/ensemble_cloud_prob/ensemble_cloud_prob.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from tempfile import TemporaryDirectory from typing import Dict diff --git a/ops/estimate_canopy_cover/estimate_canopy.py b/ops/estimate_canopy_cover/estimate_canopy.py index 504a40cc..39aae687 100644 --- a/ops/estimate_canopy_cover/estimate_canopy.py +++ b/ops/estimate_canopy_cover/estimate_canopy.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from tempfile import TemporaryDirectory from typing import Any, Dict, List diff --git a/ops/extract_gedi_rh100/extract_gedi_rh100.py b/ops/extract_gedi_rh100/extract_gedi_rh100.py index af65d4b8..1da1b506 100644 --- a/ops/extract_gedi_rh100/extract_gedi_rh100.py +++ b/ops/extract_gedi_rh100/extract_gedi_rh100.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import os from collections import defaultdict diff --git a/ops/extract_gedi_rh100/test_extract_gedi_rh100.py b/ops/extract_gedi_rh100/test_extract_gedi_rh100.py index fba0cbda..8af3add8 100644 --- a/ops/extract_gedi_rh100/test_extract_gedi_rh100.py +++ b/ops/extract_gedi_rh100/test_extract_gedi_rh100.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from pathlib import Path diff --git a/ops/extract_protein_sequence/extract_protein_sequence.py b/ops/extract_protein_sequence/extract_protein_sequence.py index bf0418c0..41a4ebb8 100644 --- a/ops/extract_protein_sequence/extract_protein_sequence.py +++ b/ops/extract_protein_sequence/extract_protein_sequence.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from tempfile import TemporaryDirectory diff --git a/ops/get_angles/get_angles.py b/ops/get_angles/get_angles.py index 68470285..78709d39 100644 --- a/ops/get_angles/get_angles.py +++ b/ops/get_angles/get_angles.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import io import mimetypes import os diff --git a/ops/gfs_download/gfs_download.py b/ops/gfs_download/gfs_download.py index 953f53ae..c228a027 100644 --- a/ops/gfs_download/gfs_download.py +++ b/ops/gfs_download/gfs_download.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import os from datetime import datetime diff --git a/ops/gfs_preprocess/gfs_preprocess.py b/ops/gfs_preprocess/gfs_preprocess.py index 71838008..d1e9904b 100644 --- a/ops/gfs_preprocess/gfs_preprocess.py +++ b/ops/gfs_preprocess/gfs_preprocess.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from datetime import datetime, time, timedelta, timezone from typing import Any, Dict, List, Tuple, Union diff --git a/ops/group_rasters_by_geometries/group_rasters_by_geometries.py b/ops/group_rasters_by_geometries/group_rasters_by_geometries.py index b36a5045..1337e3d7 100644 --- a/ops/group_rasters_by_geometries/group_rasters_by_geometries.py +++ b/ops/group_rasters_by_geometries/group_rasters_by_geometries.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from functools import partial from typing import Dict, List diff --git a/ops/group_rasters_by_time/group_rasters_by_time.py b/ops/group_rasters_by_time/group_rasters_by_time.py index 2e237cdb..ee0da933 100644 --- a/ops/group_rasters_by_time/group_rasters_by_time.py +++ b/ops/group_rasters_by_time/group_rasters_by_time.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from functools import partial from itertools import groupby from typing import Dict, List diff --git a/ops/group_rasters_by_time/test_group_rasters_by_time.py b/ops/group_rasters_by_time/test_group_rasters_by_time.py index a380b9f2..57cda8d2 100644 --- a/ops/group_rasters_by_time/test_group_rasters_by_time.py +++ b/ops/group_rasters_by_time/test_group_rasters_by_time.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os from datetime import datetime, timedelta diff --git a/ops/group_sentinel1_orbits/group_sentinel1_orbits.py b/ops/group_sentinel1_orbits/group_sentinel1_orbits.py index 61b74910..735d1021 100644 --- a/ops/group_sentinel1_orbits/group_sentinel1_orbits.py +++ b/ops/group_sentinel1_orbits/group_sentinel1_orbits.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from collections import defaultdict from typing import Dict, List, Tuple diff --git a/ops/group_sentinel2_orbits/group_sentinel2_orbits.py b/ops/group_sentinel2_orbits/group_sentinel2_orbits.py index 1275c86f..0f136154 100644 --- a/ops/group_sentinel2_orbits/group_sentinel2_orbits.py +++ b/ops/group_sentinel2_orbits/group_sentinel2_orbits.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from collections import defaultdict from typing import Dict, List, Tuple, Union, cast diff --git a/ops/group_tile_sequence/group_tile_sequence.py b/ops/group_tile_sequence/group_tile_sequence.py index d0fc8bb2..ca59ea41 100644 --- a/ops/group_tile_sequence/group_tile_sequence.py +++ b/ops/group_tile_sequence/group_tile_sequence.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib import logging from collections import defaultdict diff --git a/ops/heatmap_sensor/soil_sample_heatmap_using_classification.py b/ops/heatmap_sensor/soil_sample_heatmap_using_classification.py index 3d15e4a6..794b4788 100644 --- a/ops/heatmap_sensor/soil_sample_heatmap_using_classification.py +++ b/ops/heatmap_sensor/soil_sample_heatmap_using_classification.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from tempfile import TemporaryDirectory from typing import Any, Dict, Optional, cast diff --git a/ops/heatmap_sensor/soil_sample_heatmap_using_neighbors.py b/ops/heatmap_sensor/soil_sample_heatmap_using_neighbors.py index 59ba93f7..65d7ea6d 100644 --- a/ops/heatmap_sensor/soil_sample_heatmap_using_neighbors.py +++ b/ops/heatmap_sensor/soil_sample_heatmap_using_neighbors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Any, Dict, List, Tuple, cast diff --git a/ops/heatmap_sensor/test_soil_cluster_sample_heatmap_using_neighbors.py b/ops/heatmap_sensor/test_soil_cluster_sample_heatmap_using_neighbors.py index 62b54d0a..3defa642 100644 --- a/ops/heatmap_sensor/test_soil_cluster_sample_heatmap_using_neighbors.py +++ b/ops/heatmap_sensor/test_soil_cluster_sample_heatmap_using_neighbors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import time from datetime import datetime diff --git a/ops/heatmap_sensor/test_soil_sample_heatmap_using_classification.py b/ops/heatmap_sensor/test_soil_sample_heatmap_using_classification.py index 5349c30e..cbeb89f0 100644 --- a/ops/heatmap_sensor/test_soil_sample_heatmap_using_classification.py +++ b/ops/heatmap_sensor/test_soil_sample_heatmap_using_classification.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from typing import Any, Dict, Union, cast diff --git a/ops/helloworld/helloworld.py b/ops/helloworld/helloworld.py index c9e33e50..d4ea8aa1 100644 --- a/ops/helloworld/helloworld.py +++ b/ops/helloworld/helloworld.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Dict, List, Union diff --git a/ops/linear_trend/linear_trend.py b/ops/linear_trend/linear_trend.py index 2390ecde..2ff2dd34 100644 --- a/ops/linear_trend/linear_trend.py +++ b/ops/linear_trend/linear_trend.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from tempfile import TemporaryDirectory from typing import Dict, List, Tuple diff --git a/ops/linear_trend/test_linear_trend.py b/ops/linear_trend/test_linear_trend.py index 544d09d9..c38db869 100644 --- a/ops/linear_trend/test_linear_trend.py +++ b/ops/linear_trend/test_linear_trend.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import numpy as np import xarray as xr from linear_trend import fit_model_in_bulk diff --git a/ops/list_airbus_products/list_airbus.py b/ops/list_airbus_products/list_airbus.py index 5daa1a7c..b5f4a373 100644 --- a/ops/list_airbus_products/list_airbus.py +++ b/ops/list_airbus_products/list_airbus.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from tempfile import TemporaryDirectory from typing import Any, Dict, List diff --git a/ops/list_alos_products/list_alos_products.py b/ops/list_alos_products/list_alos_products.py index afc09a97..436aa871 100644 --- a/ops/list_alos_products/list_alos_products.py +++ b/ops/list_alos_products/list_alos_products.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, Dict, List, cast from dateutil.parser import parse diff --git a/ops/list_alos_products/test_alos_list.py b/ops/list_alos_products/test_alos_list.py index 9596a898..fefb920b 100644 --- a/ops/list_alos_products/test_alos_list.py +++ b/ops/list_alos_products/test_alos_list.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from typing import Any, Dict, Tuple diff --git a/ops/list_bing_maps/list_bing_maps.py b/ops/list_bing_maps/list_bing_maps.py index 766e6090..d37da255 100644 --- a/ops/list_bing_maps/list_bing_maps.py +++ b/ops/list_bing_maps/list_bing_maps.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from datetime import datetime from typing import Dict, List, Optional diff --git a/ops/list_bing_maps/test_list_bing_maps.py b/ops/list_bing_maps/test_list_bing_maps.py index 86cd9bcc..4c0699af 100644 --- a/ops/list_bing_maps/test_list_bing_maps.py +++ b/ops/list_bing_maps/test_list_bing_maps.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from typing import List, Optional, cast diff --git a/ops/list_cdl_products/list_cdl_products.py b/ops/list_cdl_products/list_cdl_products.py index 59caf831..d8b18d3c 100644 --- a/ops/list_cdl_products/list_cdl_products.py +++ b/ops/list_cdl_products/list_cdl_products.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # This op receives a date range and geometry and list the respective CDL products from datetime import datetime from typing import Dict, List diff --git a/ops/list_chirps/list_chirps.py b/ops/list_chirps/list_chirps.py index abb41701..53c0c98e 100644 --- a/ops/list_chirps/list_chirps.py +++ b/ops/list_chirps/list_chirps.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from calendar import monthrange from datetime import datetime, timedelta, timezone diff --git a/ops/list_climatology_lab/list_climatology_lab.py b/ops/list_climatology_lab/list_climatology_lab.py index 7c87cea3..d1cd5d72 100644 --- a/ops/list_climatology_lab/list_climatology_lab.py +++ b/ops/list_climatology_lab/list_climatology_lab.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from typing import Dict, List diff --git a/ops/list_climatology_lab/test_list_climatology_lab.py b/ops/list_climatology_lab/test_list_climatology_lab.py index 709d7f0f..fcf09677 100644 --- a/ops/list_climatology_lab/test_list_climatology_lab.py +++ b/ops/list_climatology_lab/test_list_climatology_lab.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from typing import List, cast diff --git a/ops/list_dem_products/list_dem_products.py b/ops/list_dem_products/list_dem_products.py index 2405e76c..d5020ecb 100644 --- a/ops/list_dem_products/list_dem_products.py +++ b/ops/list_dem_products/list_dem_products.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # This operator receives a region and obtains the digital elevation model # items associated with the input region. The collection 3dep-seamless # only covers CONUS (continental us) and contains tiles with distinct diff --git a/ops/list_dem_products/test_list_dem_products.py b/ops/list_dem_products/test_list_dem_products.py index 64d04bb2..bfb3b280 100644 --- a/ops/list_dem_products/test_list_dem_products.py +++ b/ops/list_dem_products/test_list_dem_products.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from typing import List, cast diff --git a/ops/list_era5/list_era5.py b/ops/list_era5/list_era5.py index 6535efb5..7d4972d8 100644 --- a/ops/list_era5/list_era5.py +++ b/ops/list_era5/list_era5.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from functools import partial from typing import Any, Dict, List diff --git a/ops/list_era5/list_era5_cds.py b/ops/list_era5/list_era5_cds.py index 59e21e07..5a6d0fb9 100644 --- a/ops/list_era5/list_era5_cds.py +++ b/ops/list_era5/list_era5_cds.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from datetime import datetime from functools import partial diff --git a/ops/list_esri_landuse_landcover/list_esri_landuse_landcover.py b/ops/list_esri_landuse_landcover/list_esri_landuse_landcover.py index 2a06cf7a..d66c81d7 100644 --- a/ops/list_esri_landuse_landcover/list_esri_landuse_landcover.py +++ b/ops/list_esri_landuse_landcover/list_esri_landuse_landcover.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, Dict, List, cast from dateutil.parser import isoparse diff --git a/ops/list_esri_landuse_landcover/test_list_esri_landuse_landcover.py b/ops/list_esri_landuse_landcover/test_list_esri_landuse_landcover.py index 240b7714..b56ba7a2 100644 --- a/ops/list_esri_landuse_landcover/test_list_esri_landuse_landcover.py +++ b/ops/list_esri_landuse_landcover/test_list_esri_landuse_landcover.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from typing import List, cast diff --git a/ops/list_gedi_products/list_gedi_products.py b/ops/list_gedi_products/list_gedi_products.py index dcc415a3..bf6ee014 100644 --- a/ops/list_gedi_products/list_gedi_products.py +++ b/ops/list_gedi_products/list_gedi_products.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from typing import Any, Dict, List diff --git a/ops/list_gedi_products/test_list_gedi_products.py b/ops/list_gedi_products/test_list_gedi_products.py index fdaaa9ae..f73a56d7 100644 --- a/ops/list_gedi_products/test_list_gedi_products.py +++ b/ops/list_gedi_products/test_list_gedi_products.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import json import os from datetime import datetime diff --git a/ops/list_glad_products/list_glad_products.py b/ops/list_glad_products/list_glad_products.py index 6820fd77..4f439f6b 100644 --- a/ops/list_glad_products/list_glad_products.py +++ b/ops/list_glad_products/list_glad_products.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib import itertools from datetime import datetime diff --git a/ops/list_glad_products/test_glad_list.py b/ops/list_glad_products/test_glad_list.py index 4e98fdba..83567682 100644 --- a/ops/list_glad_products/test_glad_list.py +++ b/ops/list_glad_products/test_glad_list.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import itertools import os from datetime import datetime diff --git a/ops/list_gnatsgo_products/list_gnatsgo_products.py b/ops/list_gnatsgo_products/list_gnatsgo_products.py index a11c26d3..ff40cdb5 100644 --- a/ops/list_gnatsgo_products/list_gnatsgo_products.py +++ b/ops/list_gnatsgo_products/list_gnatsgo_products.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Dict, List from pystac import Item diff --git a/ops/list_gnatsgo_products/test_list_gnatsgo_products.py b/ops/list_gnatsgo_products/test_list_gnatsgo_products.py index eb3e276c..e5ff53eb 100644 --- a/ops/list_gnatsgo_products/test_list_gnatsgo_products.py +++ b/ops/list_gnatsgo_products/test_list_gnatsgo_products.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from typing import List, cast diff --git a/ops/list_hansen_products/list_hansen_products.py b/ops/list_hansen_products/list_hansen_products.py index 5bc296ad..e42fa62d 100644 --- a/ops/list_hansen_products/list_hansen_products.py +++ b/ops/list_hansen_products/list_hansen_products.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from datetime import datetime from typing import Dict, List, cast diff --git a/ops/list_hansen_products/test_hansen_list.py b/ops/list_hansen_products/test_hansen_list.py index b7367616..c088135c 100644 --- a/ops/list_hansen_products/test_hansen_list.py +++ b/ops/list_hansen_products/test_hansen_list.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import itertools import os from datetime import datetime diff --git a/ops/list_herbie/list_herbie.py b/ops/list_herbie/list_herbie.py index 4509a70e..b05f84e6 100644 --- a/ops/list_herbie/list_herbie.py +++ b/ops/list_herbie/list_herbie.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from datetime import datetime from typing import Dict, List, Optional diff --git a/ops/list_landsat_products_pc/list_landsat_pc.py b/ops/list_landsat_products_pc/list_landsat_pc.py index 40483448..a00c0568 100644 --- a/ops/list_landsat_products_pc/list_landsat_pc.py +++ b/ops/list_landsat_products_pc/list_landsat_pc.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, Dict, List from dateutil.parser import isoparse diff --git a/ops/list_modis_sr/list_modis_sr.py b/ops/list_modis_sr/list_modis_sr.py index 2611299f..299aad09 100644 --- a/ops/list_modis_sr/list_modis_sr.py +++ b/ops/list_modis_sr/list_modis_sr.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Dict, List from dateutil.parser import parse diff --git a/ops/list_modis_vegetation/list_modis_vegetation.py b/ops/list_modis_vegetation/list_modis_vegetation.py index 91c9ddf4..6c504f95 100644 --- a/ops/list_modis_vegetation/list_modis_vegetation.py +++ b/ops/list_modis_vegetation/list_modis_vegetation.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Dict, List from dateutil.parser import parse diff --git a/ops/list_modis_vegetation/test_list_modis_vegetation.py b/ops/list_modis_vegetation/test_list_modis_vegetation.py index 23bff6f4..1062023a 100644 --- a/ops/list_modis_vegetation/test_list_modis_vegetation.py +++ b/ops/list_modis_vegetation/test_list_modis_vegetation.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from unittest.mock import MagicMock, patch diff --git a/ops/list_naip_products/list_naip_products.py b/ops/list_naip_products/list_naip_products.py index ac22fea0..5125d7a9 100644 --- a/ops/list_naip_products/list_naip_products.py +++ b/ops/list_naip_products/list_naip_products.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # This operator receives a region and a date range and obtains the respective # NAIP items, returning a list of NaipProduct. from typing import Any, Dict, List, Tuple, cast diff --git a/ops/list_naip_products/test_list_naip_products.py b/ops/list_naip_products/test_list_naip_products.py index 3162638b..3f8764b5 100644 --- a/ops/list_naip_products/test_list_naip_products.py +++ b/ops/list_naip_products/test_list_naip_products.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from typing import List, cast diff --git a/ops/list_sentinel1_products/list_sentinel1_products_pc.py b/ops/list_sentinel1_products/list_sentinel1_products_pc.py index d37b1ccb..70377f96 100644 --- a/ops/list_sentinel1_products/list_sentinel1_products_pc.py +++ b/ops/list_sentinel1_products/list_sentinel1_products_pc.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from typing import Dict, List diff --git a/ops/list_sentinel1_products/test_list_sentinel1.py b/ops/list_sentinel1_products/test_list_sentinel1.py index d0c2c9c8..c4f02cc7 100644 --- a/ops/list_sentinel1_products/test_list_sentinel1.py +++ b/ops/list_sentinel1_products/test_list_sentinel1.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import json import os from datetime import datetime, timezone diff --git a/ops/list_sentinel2_products/list_s2_pc.py b/ops/list_sentinel2_products/list_s2_pc.py index d4c7589c..78213abb 100644 --- a/ops/list_sentinel2_products/list_s2_pc.py +++ b/ops/list_sentinel2_products/list_s2_pc.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from concurrent.futures import ThreadPoolExecutor from typing import Dict, List diff --git a/ops/list_to_sequence/list_to_sequence.py b/ops/list_to_sequence/list_to_sequence.py index 845d924e..60753170 100644 --- a/ops/list_to_sequence/list_to_sequence.py +++ b/ops/list_to_sequence/list_to_sequence.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from datetime import datetime from typing import Any, Dict, List, Tuple diff --git a/ops/list_to_sequence/test_list_to_sequence.py b/ops/list_to_sequence/test_list_to_sequence.py index 80c5add7..64d9f1dc 100644 --- a/ops/list_to_sequence/test_list_to_sequence.py +++ b/ops/list_to_sequence/test_list_to_sequence.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os from datetime import datetime, timezone diff --git a/ops/match_raster_to_ref/match_raster_to_ref.py b/ops/match_raster_to_ref/match_raster_to_ref.py index be7fc269..6fda0506 100644 --- a/ops/match_raster_to_ref/match_raster_to_ref.py +++ b/ops/match_raster_to_ref/match_raster_to_ref.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from tempfile import TemporaryDirectory from typing import Dict diff --git a/ops/merge_cloud_masks/merge_cloud_masks.py b/ops/merge_cloud_masks/merge_cloud_masks.py index d7715a7a..c4f79ebf 100644 --- a/ops/merge_cloud_masks/merge_cloud_masks.py +++ b/ops/merge_cloud_masks/merge_cloud_masks.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import datetime import gc import mimetypes diff --git a/ops/merge_cloud_masks/merge_cloud_masks_simple.py b/ops/merge_cloud_masks/merge_cloud_masks_simple.py index 6d01f25e..7ea8bc96 100644 --- a/ops/merge_cloud_masks/merge_cloud_masks_simple.py +++ b/ops/merge_cloud_masks/merge_cloud_masks_simple.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Any, Dict, List, Tuple diff --git a/ops/merge_geometries/merge_geometries.py b/ops/merge_geometries/merge_geometries.py index 09c88c29..ab32034f 100644 --- a/ops/merge_geometries/merge_geometries.py +++ b/ops/merge_geometries/merge_geometries.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from enum import auto from typing import Dict, List, TypeVar diff --git a/ops/merge_geometries/test_merge_geometries.py b/ops/merge_geometries/test_merge_geometries.py index 38319436..c8f44c0b 100644 --- a/ops/merge_geometries/test_merge_geometries.py +++ b/ops/merge_geometries/test_merge_geometries.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime diff --git a/ops/merge_geometry_and_time_range/merge_geometry_and_time_range.py b/ops/merge_geometry_and_time_range/merge_geometry_and_time_range.py index 2c37e06c..abc0361e 100644 --- a/ops/merge_geometry_and_time_range/merge_geometry_and_time_range.py +++ b/ops/merge_geometry_and_time_range/merge_geometry_and_time_range.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from typing import Dict diff --git a/ops/merge_geometry_and_time_range/test_merge_geometry_and_time_range.py b/ops/merge_geometry_and_time_range/test_merge_geometry_and_time_range.py index d2551410..158b5453 100644 --- a/ops/merge_geometry_and_time_range/test_merge_geometry_and_time_range.py +++ b/ops/merge_geometry_and_time_range/test_merge_geometry_and_time_range.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime diff --git a/ops/merge_rasters/merge_rasters.py b/ops/merge_rasters/merge_rasters.py index 8ef352a0..0d385fa1 100644 --- a/ops/merge_rasters/merge_rasters.py +++ b/ops/merge_rasters/merge_rasters.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import mimetypes import os diff --git a/ops/merge_sentinel1_orbits/merge_sentinel1.py b/ops/merge_sentinel1_orbits/merge_sentinel1.py index bb350ef9..8d588b4e 100644 --- a/ops/merge_sentinel1_orbits/merge_sentinel1.py +++ b/ops/merge_sentinel1_orbits/merge_sentinel1.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Any, Dict, List, Tuple diff --git a/ops/merge_sentinel2_orbits/merge_sentinel2_orbits.py b/ops/merge_sentinel2_orbits/merge_sentinel2_orbits.py index 5e1194be..244771fc 100644 --- a/ops/merge_sentinel2_orbits/merge_sentinel2_orbits.py +++ b/ops/merge_sentinel2_orbits/merge_sentinel2_orbits.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os from tempfile import TemporaryDirectory diff --git a/ops/minimum_samples/find_soil_sample_locations.py b/ops/minimum_samples/find_soil_sample_locations.py index 9eb75586..ecad43a0 100644 --- a/ops/minimum_samples/find_soil_sample_locations.py +++ b/ops/minimum_samples/find_soil_sample_locations.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Any, Dict, List, Tuple, cast diff --git a/ops/minimum_samples/test_soil_sample_heatmap.py b/ops/minimum_samples/test_soil_sample_heatmap.py index 1e6f35fa..aec1323a 100644 --- a/ops/minimum_samples/test_soil_sample_heatmap.py +++ b/ops/minimum_samples/test_soil_sample_heatmap.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import time from datetime import datetime diff --git a/ops/ordinal_trend_test/ordinal_trend_test.py b/ops/ordinal_trend_test/ordinal_trend_test.py index fb15b94e..29b9c2dd 100644 --- a/ops/ordinal_trend_test/ordinal_trend_test.py +++ b/ops/ordinal_trend_test/ordinal_trend_test.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime as dt from tempfile import TemporaryDirectory diff --git a/ops/ordinal_trend_test/test_ordinal_trend.py b/ops/ordinal_trend_test/test_ordinal_trend.py index b00aba62..b7ea1658 100644 --- a/ops/ordinal_trend_test/test_ordinal_trend.py +++ b/ops/ordinal_trend_test/test_ordinal_trend.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from tempfile import TemporaryDirectory diff --git a/ops/pair_intersecting_rasters/pair_intersecting_rasters.py b/ops/pair_intersecting_rasters/pair_intersecting_rasters.py index 8d6ed1e2..b26291ec 100644 --- a/ops/pair_intersecting_rasters/pair_intersecting_rasters.py +++ b/ops/pair_intersecting_rasters/pair_intersecting_rasters.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Dict, List, Union from shapely import geometry as shpg diff --git a/ops/price_airbus_products/price_airbus.py b/ops/price_airbus_products/price_airbus.py index af8396b2..67ee4610 100644 --- a/ops/price_airbus_products/price_airbus.py +++ b/ops/price_airbus_products/price_airbus.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from tempfile import TemporaryDirectory from typing import Dict, List diff --git a/ops/protlearn/protlearn.py b/ops/protlearn/protlearn.py index 2d33561e..e4932873 100644 --- a/ops/protlearn/protlearn.py +++ b/ops/protlearn/protlearn.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from tempfile import TemporaryDirectory diff --git a/ops/read_grib_forecast/read_grib_forecast.py b/ops/read_grib_forecast/read_grib_forecast.py index 46e4ff1c..ca5595a9 100644 --- a/ops/read_grib_forecast/read_grib_forecast.py +++ b/ops/read_grib_forecast/read_grib_forecast.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os from tempfile import TemporaryDirectory diff --git a/ops/recode_raster/recode_raster.py b/ops/recode_raster/recode_raster.py index ae487a6f..522611b8 100644 --- a/ops/recode_raster/recode_raster.py +++ b/ops/recode_raster/recode_raster.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from tempfile import TemporaryDirectory from typing import Dict, List diff --git a/ops/recode_raster/test_recode_raster.py b/ops/recode_raster/test_recode_raster.py index 9e59beba..07645d6f 100644 --- a/ops/recode_raster/test_recode_raster.py +++ b/ops/recode_raster/test_recode_raster.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from tempfile import TemporaryDirectory diff --git a/ops/remove_clouds/remove_clouds.py b/ops/remove_clouds/remove_clouds.py index 88aa6a08..6813c48c 100644 --- a/ops/remove_clouds/remove_clouds.py +++ b/ops/remove_clouds/remove_clouds.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # pyright: reportUnknownMemberType=false import logging import os diff --git a/ops/remove_clouds/test_remove_clouds.py b/ops/remove_clouds/test_remove_clouds.py index 13e67745..b66178c6 100644 --- a/ops/remove_clouds/test_remove_clouds.py +++ b/ops/remove_clouds/test_remove_clouds.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from typing import Any, Dict diff --git a/ops/segment_anything/sam_inference.py b/ops/segment_anything/sam_inference.py index f6f13020..2c749a4f 100644 --- a/ops/segment_anything/sam_inference.py +++ b/ops/segment_anything/sam_inference.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import os from tempfile import TemporaryDirectory diff --git a/ops/segment_anything/test_sam_inference.py b/ops/segment_anything/test_sam_inference.py index a4bdd1a4..d99a85b4 100644 --- a/ops/segment_anything/test_sam_inference.py +++ b/ops/segment_anything/test_sam_inference.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from tempfile import TemporaryDirectory diff --git a/ops/segment_anything_combine_masks/combine_sam_masks.py b/ops/segment_anything_combine_masks/combine_sam_masks.py index e457b98d..238ed20c 100644 --- a/ops/segment_anything_combine_masks/combine_sam_masks.py +++ b/ops/segment_anything_combine_masks/combine_sam_masks.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Dict, List, Tuple diff --git a/ops/segment_anything_combine_masks/test_combine_sam_masks.py b/ops/segment_anything_combine_masks/test_combine_sam_masks.py index febd5f62..43f76bb2 100644 --- a/ops/segment_anything_combine_masks/test_combine_sam_masks.py +++ b/ops/segment_anything_combine_masks/test_combine_sam_masks.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from tempfile import TemporaryDirectory diff --git a/ops/segment_driveway/segment_driveway.py b/ops/segment_driveway/segment_driveway.py index 0444b4f0..e5374a5d 100644 --- a/ops/segment_driveway/segment_driveway.py +++ b/ops/segment_driveway/segment_driveway.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Any, Callable, Dict, Tuple diff --git a/ops/select_necessary_coverage_items/filter_items.py b/ops/select_necessary_coverage_items/filter_items.py index e11e5541..44f4e722 100644 --- a/ops/select_necessary_coverage_items/filter_items.py +++ b/ops/select_necessary_coverage_items/filter_items.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """ Selects a (locally?) minimum subset of items that covers the desired input geometry (if suchs subset exists) for each timestamp. diff --git a/ops/select_necessary_coverage_items/test_filter.py b/ops/select_necessary_coverage_items/test_filter.py index 07bf5c2d..ca3d664c 100644 --- a/ops/select_necessary_coverage_items/test_filter.py +++ b/ops/select_necessary_coverage_items/test_filter.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from typing import List, cast diff --git a/ops/select_sequence/select_sequence.py b/ops/select_sequence/select_sequence.py index 3517f2b6..af91056c 100644 --- a/ops/select_sequence/select_sequence.py +++ b/ops/select_sequence/select_sequence.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from functools import partial from typing import Dict, List, Union diff --git a/ops/split_sequence/split_sequence.py b/ops/split_sequence/split_sequence.py index df38ec73..80696380 100644 --- a/ops/split_sequence/split_sequence.py +++ b/ops/split_sequence/split_sequence.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Dict, List from vibe_core.data.core_types import gen_guid diff --git a/ops/split_sequence/test_split_sequence.py b/ops/split_sequence/test_split_sequence.py index 7828d73a..a2370c7c 100644 --- a/ops/split_sequence/test_split_sequence.py +++ b/ops/split_sequence/test_split_sequence.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from typing import Any, Dict diff --git a/ops/stack_landsat/stack_landsat.py b/ops/stack_landsat/stack_landsat.py index fdbf0981..aa331a4c 100644 --- a/ops/stack_landsat/stack_landsat.py +++ b/ops/stack_landsat/stack_landsat.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from tempfile import TemporaryDirectory from typing import Dict, Tuple diff --git a/ops/stack_sentinel2_bands/stack_sentinel2_bands.py b/ops/stack_sentinel2_bands/stack_sentinel2_bands.py index 0ca054bb..265e4e58 100644 --- a/ops/stack_sentinel2_bands/stack_sentinel2_bands.py +++ b/ops/stack_sentinel2_bands/stack_sentinel2_bands.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import mimetypes import os diff --git a/ops/summarize_raster/raster_summary.py b/ops/summarize_raster/raster_summary.py index c029614b..c741ef0a 100644 --- a/ops/summarize_raster/raster_summary.py +++ b/ops/summarize_raster/raster_summary.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from typing import Any, Dict, Optional diff --git a/ops/threshold_raster/threshold_raster.py b/ops/threshold_raster/threshold_raster.py index 9e6e2f35..91f84b19 100644 --- a/ops/threshold_raster/threshold_raster.py +++ b/ops/threshold_raster/threshold_raster.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from tempfile import TemporaryDirectory from typing import Dict, Optional, cast diff --git a/ops/tile_sentinel1/tile_sentinel1.py b/ops/tile_sentinel1/tile_sentinel1.py index 60f00a54..8e14ca55 100644 --- a/ops/tile_sentinel1/tile_sentinel1.py +++ b/ops/tile_sentinel1/tile_sentinel1.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib import logging from tempfile import TemporaryDirectory diff --git a/ops/unpack_refs/unpack_refs.py b/ops/unpack_refs/unpack_refs.py index 00875d6c..33c1db1a 100644 --- a/ops/unpack_refs/unpack_refs.py +++ b/ops/unpack_refs/unpack_refs.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Dict, List from vibe_core.data import ExternalReference, ExternalReferenceList, gen_guid diff --git a/ops/weed_detection/weed_detection.py b/ops/weed_detection/weed_detection.py index f686c4db..1434abc1 100644 --- a/ops/weed_detection/weed_detection.py +++ b/ops/weed_detection/weed_detection.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from dataclasses import dataclass from enum import auto diff --git a/resources/docker/Dockerfile-api_orchestrator b/resources/docker/Dockerfile-api_orchestrator index fd4bb246..cc9bca7b 100644 --- a/resources/docker/Dockerfile-api_orchestrator +++ b/resources/docker/Dockerfile-api_orchestrator @@ -1,4 +1,6 @@ -# syntax=docker/dockerfile:1 +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + FROM mcr.microsoft.com/farmai/terravibes/services-base:12380 COPY src /app/src diff --git a/resources/docker/Dockerfile-cache b/resources/docker/Dockerfile-cache index 322fb693..bb975c3d 100644 --- a/resources/docker/Dockerfile-cache +++ b/resources/docker/Dockerfile-cache @@ -1,4 +1,6 @@ -# syntax=docker/dockerfile:1 +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + FROM mcr.microsoft.com/farmai/terravibes/services-base:12380 COPY src /app/src diff --git a/resources/docker/Dockerfile-dev b/resources/docker/Dockerfile-dev index 58316bb8..7567c838 100644 --- a/resources/docker/Dockerfile-dev +++ b/resources/docker/Dockerfile-dev @@ -1,4 +1,6 @@ -# syntax=docker/dockerfile:1 +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + ARG BASE_IMAGE FROM $BASE_IMAGE COPY resources/envs/dev.yaml /tmp/dev.yaml diff --git a/resources/docker/Dockerfile-devcontainer b/resources/docker/Dockerfile-devcontainer index 464b9e9e..a1259414 100644 --- a/resources/docker/Dockerfile-devcontainer +++ b/resources/docker/Dockerfile-devcontainer @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + FROM mcr.microsoft.com/farmai/terravibes/worker-base:12380 ARG USERNAME=vscode diff --git a/resources/docker/Dockerfile-services-base b/resources/docker/Dockerfile-services-base index d17675d7..f0368c21 100644 --- a/resources/docker/Dockerfile-services-base +++ b/resources/docker/Dockerfile-services-base @@ -1,4 +1,6 @@ -# syntax=docker/dockerfile:1 +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + FROM mcr.microsoft.com/cbl-mariner/base/core:2.0 AS builder diff --git a/resources/docker/Dockerfile-worker b/resources/docker/Dockerfile-worker index b9177152..bfaca499 100644 --- a/resources/docker/Dockerfile-worker +++ b/resources/docker/Dockerfile-worker @@ -1,4 +1,6 @@ -# syntax=docker/dockerfile:1 +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + FROM mcr.microsoft.com/farmai/terravibes/worker-base:12380 COPY src /app/src diff --git a/resources/docker/Dockerfile-worker-base b/resources/docker/Dockerfile-worker-base index b235e501..7e95ddd7 100644 --- a/resources/docker/Dockerfile-worker-base +++ b/resources/docker/Dockerfile-worker-base @@ -1,4 +1,6 @@ -# syntax=docker/dockerfile:1 +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + FROM mcr.microsoft.com/cbl-mariner/base/core:2.0 AS builder RUN tdnf update -y || echo "Not updating anything..." && tdnf install -y \ diff --git a/resources/vm/setup_farmvibes_ai_vm.sh b/resources/vm/setup_farmvibes_ai_vm.sh index a6ba85de..762fa3b6 100755 --- a/resources/vm/setup_farmvibes_ai_vm.sh +++ b/resources/vm/setup_farmvibes_ai_vm.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # Update apt sudo apt update diff --git a/scripts/local-k8s-diagnostics.sh b/scripts/local-k8s-diagnostics.sh index aca46057..9c0c25cd 100644 --- a/scripts/local-k8s-diagnostics.sh +++ b/scripts/local-k8s-diagnostics.sh @@ -1,4 +1,7 @@ #!/bin/sh +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + PATH=$PATH:~/.config/farmvibes-ai diff --git a/scripts/setup_python_develop_env.sh b/scripts/setup_python_develop_env.sh index 9785bbfd..0cb9c36e 100644 --- a/scripts/setup_python_develop_env.sh +++ b/scripts/setup_python_develop_env.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + SCRIPTFILE=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPTFILE") diff --git a/src/tests/__init__.py b/src/tests/__init__.py index e69de29b..b7c52582 100644 --- a/src/tests/__init__.py +++ b/src/tests/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/tests/benchmark/test_spaceeye_ops.py b/src/tests/benchmark/test_spaceeye_ops.py index d4cb92db..0dbc68f8 100644 --- a/src/tests/benchmark/test_spaceeye_ops.py +++ b/src/tests/benchmark/test_spaceeye_ops.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import time from typing import List, cast diff --git a/src/tests/conftest.py b/src/tests/conftest.py index 927a27c6..d447dc1f 100644 --- a/src/tests/conftest.py +++ b/src/tests/conftest.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import pytest from vibe_dev.testing import anyio_backend # type: ignore # noqa diff --git a/src/tests/test_notebooks.py b/src/tests/test_notebooks.py index c2d254fb..259cc4cf 100644 --- a/src/tests/test_notebooks.py +++ b/src/tests/test_notebooks.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import json import os from typing import List diff --git a/src/tests/test_op_workflows_integration.py b/src/tests/test_op_workflows_integration.py index f00d58a1..14a63f7d 100644 --- a/src/tests/test_op_workflows_integration.py +++ b/src/tests/test_op_workflows_integration.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import shutil import tempfile diff --git a/src/tests/test_ops_building.py b/src/tests/test_ops_building.py index 989d7889..602a299c 100644 --- a/src/tests/test_ops_building.py +++ b/src/tests/test_ops_building.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from pathlib import Path from typing import List diff --git a/src/tests/test_rest_api.py b/src/tests/test_rest_api.py index 77548ebb..cb8fd2ca 100644 --- a/src/tests/test_rest_api.py +++ b/src/tests/test_rest_api.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from dataclasses import asdict from typing import Any, Dict, List, Optional, Tuple, Union, cast from unittest.mock import MagicMock, patch diff --git a/src/tests/test_rest_api_client_integration.py b/src/tests/test_rest_api_client_integration.py index 6d7cae53..329d39d2 100644 --- a/src/tests/test_rest_api_client_integration.py +++ b/src/tests/test_rest_api_client_integration.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from dataclasses import asdict from datetime import datetime from os.path import join as j diff --git a/src/tests/test_subprocess_client.py b/src/tests/test_subprocess_client.py index 1d1ce342..dd2966cb 100644 --- a/src/tests/test_subprocess_client.py +++ b/src/tests/test_subprocess_client.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from typing import Tuple diff --git a/src/tests/workflows_integration/__init__.py b/src/tests/workflows_integration/__init__.py index e69de29b..b7c52582 100644 --- a/src/tests/workflows_integration/__init__.py +++ b/src/tests/workflows_integration/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/tests/workflows_integration/test_helloworld_integration.py b/src/tests/workflows_integration/test_helloworld_integration.py index cca9ecc6..2681f8b2 100644 --- a/src/tests/workflows_integration/test_helloworld_integration.py +++ b/src/tests/workflows_integration/test_helloworld_integration.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from typing import Any, Dict, List, Optional diff --git a/src/tests_local_cluster/test_cluster_integration.py b/src/tests_local_cluster/test_cluster_integration.py index 753361b8..06bdc88a 100644 --- a/src/tests_local_cluster/test_cluster_integration.py +++ b/src/tests_local_cluster/test_cluster_integration.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import codecs import getpass import os diff --git a/src/vibe_agent/setup.py b/src/vibe_agent/setup.py index 7291bc44..35d93eaa 100644 --- a/src/vibe_agent/setup.py +++ b/src/vibe_agent/setup.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from setuptools import find_packages, setup setup( diff --git a/src/vibe_agent/tests/conftest.py b/src/vibe_agent/tests/conftest.py index f045d7c5..cd899eec 100644 --- a/src/vibe_agent/tests/conftest.py +++ b/src/vibe_agent/tests/conftest.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # flake8: noqa import os import uuid diff --git a/src/vibe_agent/tests/ops/test_dependencies_integration.py b/src/vibe_agent/tests/ops/test_dependencies_integration.py index 7e29f26b..5dfbaf4d 100644 --- a/src/vibe_agent/tests/ops/test_dependencies_integration.py +++ b/src/vibe_agent/tests/ops/test_dependencies_integration.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import pytest from vibe_agent.ops import EntryPointDict, OperationDependencyResolver, OperationSpec diff --git a/src/vibe_agent/tests/ops/test_op_cache_builder.py b/src/vibe_agent/tests/ops/test_op_cache_builder.py index 3b66f28c..34079f46 100644 --- a/src/vibe_agent/tests/ops/test_op_cache_builder.py +++ b/src/vibe_agent/tests/ops/test_op_cache_builder.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import datetime import random from dataclasses import dataclass diff --git a/src/vibe_agent/tests/ops/test_op_parser.py b/src/vibe_agent/tests/ops/test_op_parser.py index 278c1e7b..c67805fa 100644 --- a/src/vibe_agent/tests/ops/test_op_parser.py +++ b/src/vibe_agent/tests/ops/test_op_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from typing import Any, Dict diff --git a/src/vibe_agent/tests/ops/test_operation.py b/src/vibe_agent/tests/ops/test_operation.py index f472c708..1ff91519 100644 --- a/src/vibe_agent/tests/ops/test_operation.py +++ b/src/vibe_agent/tests/ops/test_operation.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from typing import Any, Callable diff --git a/src/vibe_agent/tests/test_eywa_asset.py b/src/vibe_agent/tests/test_asset_vibe.py similarity index 93% rename from src/vibe_agent/tests/test_eywa_asset.py rename to src/vibe_agent/tests/test_asset_vibe.py index 0759905b..0c563446 100644 --- a/src/vibe_agent/tests/test_eywa_asset.py +++ b/src/vibe_agent/tests/test_asset_vibe.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes from pathlib import Path diff --git a/src/vibe_agent/tests/test_cache_metadata_store.py b/src/vibe_agent/tests/test_cache_metadata_store.py index 92d08f68..4586dc52 100644 --- a/src/vibe_agent/tests/test_cache_metadata_store.py +++ b/src/vibe_agent/tests/test_cache_metadata_store.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import asyncio import uuid from dataclasses import asdict diff --git a/src/vibe_agent/tests/test_local_asset_manager.py b/src/vibe_agent/tests/test_local_asset_manager.py index 3ec48dac..6bca971c 100644 --- a/src/vibe_agent/tests/test_local_asset_manager.py +++ b/src/vibe_agent/tests/test_local_asset_manager.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from tempfile import TemporaryDirectory from unittest.mock import MagicMock, Mock, patch diff --git a/src/vibe_agent/tests/test_storage.py b/src/vibe_agent/tests/test_storage.py index 0574b67a..273521c8 100644 --- a/src/vibe_agent/tests/test_storage.py +++ b/src/vibe_agent/tests/test_storage.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime, timezone from typing import Any, Dict diff --git a/src/vibe_agent/tests/test_uri_handling.py b/src/vibe_agent/tests/test_uri_handling.py index bbe97e5e..c644824b 100644 --- a/src/vibe_agent/tests/test_uri_handling.py +++ b/src/vibe_agent/tests/test_uri_handling.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from pathlib import Path diff --git a/src/vibe_agent/vibe_agent/__init__.py b/src/vibe_agent/vibe_agent/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_agent/vibe_agent/__init__.py +++ b/src/vibe_agent/vibe_agent/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_agent/vibe_agent/agent_config.py b/src/vibe_agent/vibe_agent/agent_config.py index 782c154f..3a3f1d69 100644 --- a/src/vibe_agent/vibe_agent/agent_config.py +++ b/src/vibe_agent/vibe_agent/agent_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import os diff --git a/src/vibe_agent/vibe_agent/cache.py b/src/vibe_agent/vibe_agent/cache.py index cbc42bfb..7a49ece1 100644 --- a/src/vibe_agent/vibe_agent/cache.py +++ b/src/vibe_agent/vibe_agent/cache.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import asyncio import logging import os diff --git a/src/vibe_agent/vibe_agent/cache_metadata_store.py b/src/vibe_agent/vibe_agent/cache_metadata_store.py index 9c4f186c..cf8565ca 100644 --- a/src/vibe_agent/vibe_agent/cache_metadata_store.py +++ b/src/vibe_agent/vibe_agent/cache_metadata_store.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from typing import Dict, Protocol, Set diff --git a/src/vibe_agent/vibe_agent/cache_metadata_store_client.py b/src/vibe_agent/vibe_agent/cache_metadata_store_client.py index 84522e07..9dca0ec2 100644 --- a/src/vibe_agent/vibe_agent/cache_metadata_store_client.py +++ b/src/vibe_agent/vibe_agent/cache_metadata_store_client.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from vibe_common.constants import DATA_OPS_INVOKE_URL_TEMPLATE diff --git a/src/vibe_agent/vibe_agent/data_ops.py b/src/vibe_agent/vibe_agent/data_ops.py index cc1b5e31..789615ff 100644 --- a/src/vibe_agent/vibe_agent/data_ops.py +++ b/src/vibe_agent/vibe_agent/data_ops.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import asyncio import logging from typing import List, Optional, Set, cast diff --git a/src/vibe_agent/vibe_agent/launch_cache.py b/src/vibe_agent/vibe_agent/launch_cache.py index 73623dee..3336b546 100644 --- a/src/vibe_agent/vibe_agent/launch_cache.py +++ b/src/vibe_agent/vibe_agent/launch_cache.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import asyncio from typing import Any diff --git a/src/vibe_agent/vibe_agent/launch_data_ops.py b/src/vibe_agent/vibe_agent/launch_data_ops.py index 4083e2a8..7d126cad 100644 --- a/src/vibe_agent/vibe_agent/launch_data_ops.py +++ b/src/vibe_agent/vibe_agent/launch_data_ops.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import asyncio from typing import Any diff --git a/src/vibe_agent/vibe_agent/launch_worker.py b/src/vibe_agent/vibe_agent/launch_worker.py index fa9b7d19..54ad3385 100644 --- a/src/vibe_agent/vibe_agent/launch_worker.py +++ b/src/vibe_agent/vibe_agent/launch_worker.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import asyncio import signal from multiprocessing import set_start_method diff --git a/src/vibe_agent/vibe_agent/ops.py b/src/vibe_agent/vibe_agent/ops.py index ae652dcd..3be691e4 100644 --- a/src/vibe_agent/vibe_agent/ops.py +++ b/src/vibe_agent/vibe_agent/ops.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import importlib.util import inspect import logging diff --git a/src/vibe_agent/vibe_agent/ops_helper.py b/src/vibe_agent/vibe_agent/ops_helper.py index 753a9ec4..eac939a9 100644 --- a/src/vibe_agent/vibe_agent/ops_helper.py +++ b/src/vibe_agent/vibe_agent/ops_helper.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from vibe_core.data.core_types import OpIOType from vibe_core.data.utils import deserialize_stac, serialize_stac diff --git a/src/vibe_agent/vibe_agent/storage/__init__.py b/src/vibe_agent/vibe_agent/storage/__init__.py index 90e4562f..a366373d 100644 --- a/src/vibe_agent/vibe_agent/storage/__init__.py +++ b/src/vibe_agent/vibe_agent/storage/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from .asset_management import BlobAssetManagerConfig, LocalFileAssetManagerConfig from .local_storage import LocalStorage, LocalStorageConfig from .remote_storage import CosmosStorage, CosmosStorageConfig diff --git a/src/vibe_agent/vibe_agent/storage/asset_management.py b/src/vibe_agent/vibe_agent/storage/asset_management.py index c118f591..821d2880 100644 --- a/src/vibe_agent/vibe_agent/storage/asset_management.py +++ b/src/vibe_agent/vibe_agent/storage/asset_management.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import os import shutil diff --git a/src/vibe_agent/vibe_agent/storage/file_upload.py b/src/vibe_agent/vibe_agent/storage/file_upload.py index 7d07fc66..07ee46ae 100644 --- a/src/vibe_agent/vibe_agent/storage/file_upload.py +++ b/src/vibe_agent/vibe_agent/storage/file_upload.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any from azure.storage.blob import BlobClient diff --git a/src/vibe_agent/vibe_agent/storage/local_storage.py b/src/vibe_agent/vibe_agent/storage/local_storage.py index 9178687f..ec567777 100644 --- a/src/vibe_agent/vibe_agent/storage/local_storage.py +++ b/src/vibe_agent/vibe_agent/storage/local_storage.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import asyncio import logging import os diff --git a/src/vibe_agent/vibe_agent/storage/remote_storage.py b/src/vibe_agent/vibe_agent/storage/remote_storage.py index 76aaf973..b94dfd4e 100644 --- a/src/vibe_agent/vibe_agent/storage/remote_storage.py +++ b/src/vibe_agent/vibe_agent/storage/remote_storage.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from dataclasses import asdict, dataclass, fields from functools import lru_cache diff --git a/src/vibe_agent/vibe_agent/storage/storage.py b/src/vibe_agent/vibe_agent/storage/storage.py index 10022ebc..3be0bd2c 100644 --- a/src/vibe_agent/vibe_agent/storage/storage.py +++ b/src/vibe_agent/vibe_agent/storage/storage.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """ Storage module for TerraVibes. Helps store, index, retrieve, and catalog geospatial knowledge that an instance of TerraVibes contains. diff --git a/src/vibe_agent/vibe_agent/worker.py b/src/vibe_agent/vibe_agent/worker.py index 7b45fc4c..0a374e65 100644 --- a/src/vibe_agent/vibe_agent/worker.py +++ b/src/vibe_agent/vibe_agent/worker.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import asyncio import concurrent.futures import json diff --git a/src/vibe_common/setup.py b/src/vibe_common/setup.py index cc805405..185a55fb 100644 --- a/src/vibe_common/setup.py +++ b/src/vibe_common/setup.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from setuptools import find_packages, setup setup( diff --git a/src/vibe_common/tests/conftest.py b/src/vibe_common/tests/conftest.py index 20b9d94e..440204e3 100644 --- a/src/vibe_common/tests/conftest.py +++ b/src/vibe_common/tests/conftest.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from vibe_dev.testing import anyio_backend from vibe_dev.testing.fake_workflows_fixtures import fake_ops_dir, fake_workflows_dir from vibe_dev.testing.workflow_fixtures import ( diff --git a/src/vibe_common/tests/test_input_handlers.py b/src/vibe_common/tests/test_input_handlers.py index 67e0527e..b8f57d05 100644 --- a/src/vibe_common/tests/test_input_handlers.py +++ b/src/vibe_common/tests/test_input_handlers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime, timedelta, timezone from typing import Any, Dict from unittest.mock import Mock, patch diff --git a/src/vibe_common/tests/test_messaging.py b/src/vibe_common/tests/test_messaging.py index 4d7cbf35..6445c0a9 100644 --- a/src/vibe_common/tests/test_messaging.py +++ b/src/vibe_common/tests/test_messaging.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import json import sys import traceback as tb diff --git a/src/vibe_common/tests/test_statestore.py b/src/vibe_common/tests/test_statestore.py index 80f39786..ef004cee 100644 --- a/src/vibe_common/tests/test_statestore.py +++ b/src/vibe_common/tests/test_statestore.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any import pytest diff --git a/src/vibe_common/tests/test_vibe_dapr_client.py b/src/vibe_common/tests/test_vibe_dapr_client.py index c9c7e68c..b84866b8 100644 --- a/src/vibe_common/tests/test_vibe_dapr_client.py +++ b/src/vibe_common/tests/test_vibe_dapr_client.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from typing import Any diff --git a/src/vibe_common/vibe_common/__init__.py b/src/vibe_common/vibe_common/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_common/vibe_common/__init__.py +++ b/src/vibe_common/vibe_common/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_common/vibe_common/constants.py b/src/vibe_common/vibe_common/constants.py index 2aa0e480..3ea3828a 100644 --- a/src/vibe_common/vibe_common/constants.py +++ b/src/vibe_common/vibe_common/constants.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from typing import Dict, Final, List, Tuple, cast diff --git a/src/vibe_common/vibe_common/dapr.py b/src/vibe_common/vibe_common/dapr.py index 781728bf..31ecbf62 100644 --- a/src/vibe_common/vibe_common/dapr.py +++ b/src/vibe_common/vibe_common/dapr.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import asyncio import logging from functools import partial, wraps diff --git a/src/vibe_common/vibe_common/dropdapr.py b/src/vibe_common/vibe_common/dropdapr.py index 5e8926f8..09d749ed 100644 --- a/src/vibe_common/vibe_common/dropdapr.py +++ b/src/vibe_common/vibe_common/dropdapr.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """ dropdapr - A drop-in replacement for dapr-ext-grpc subscribe using FastAPI. """ diff --git a/src/vibe_common/vibe_common/input_handlers.py b/src/vibe_common/vibe_common/input_handlers.py index 66a873ba..710b29cd 100644 --- a/src/vibe_common/vibe_common/input_handlers.py +++ b/src/vibe_common/vibe_common/input_handlers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from typing import Any, Dict diff --git a/src/vibe_common/vibe_common/messaging.py b/src/vibe_common/vibe_common/messaging.py index 237ec076..e7025b5f 100644 --- a/src/vibe_common/vibe_common/messaging.py +++ b/src/vibe_common/vibe_common/messaging.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import json import logging import sys diff --git a/src/vibe_common/vibe_common/schemas.py b/src/vibe_common/vibe_common/schemas.py index c3fa06b1..afc20070 100644 --- a/src/vibe_common/vibe_common/schemas.py +++ b/src/vibe_common/vibe_common/schemas.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from copy import deepcopy from dataclasses import field, fields diff --git a/src/vibe_common/vibe_common/secret_provider.py b/src/vibe_common/vibe_common/secret_provider.py index 798d294c..d48f1374 100644 --- a/src/vibe_common/vibe_common/secret_provider.py +++ b/src/vibe_common/vibe_common/secret_provider.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import re import time diff --git a/src/vibe_common/vibe_common/statestore.py b/src/vibe_common/vibe_common/statestore.py index 21a1ddc3..778eae0a 100644 --- a/src/vibe_common/vibe_common/statestore.py +++ b/src/vibe_common/vibe_common/statestore.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # -*- coding: utf-8 -*- import logging diff --git a/src/vibe_common/vibe_common/telemetry.py b/src/vibe_common/vibe_common/telemetry.py index b902a573..e2ae147e 100644 --- a/src/vibe_common/vibe_common/telemetry.py +++ b/src/vibe_common/vibe_common/telemetry.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import inspect import logging from functools import wraps diff --git a/src/vibe_common/vibe_common/tokens.py b/src/vibe_common/vibe_common/tokens.py index f4a6595b..905ad863 100644 --- a/src/vibe_common/vibe_common/tokens.py +++ b/src/vibe_common/vibe_common/tokens.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from abc import ABC, abstractmethod from datetime import datetime, timedelta diff --git a/src/vibe_common/vibe_common/vibe_dapr_client.py b/src/vibe_common/vibe_common/vibe_dapr_client.py index 66551f83..9e2aca5e 100644 --- a/src/vibe_common/vibe_common/vibe_dapr_client.py +++ b/src/vibe_common/vibe_common/vibe_dapr_client.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import json import logging from functools import partial diff --git a/src/vibe_common/vibe_common/workflow/__init__.py b/src/vibe_common/vibe_common/workflow/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_common/vibe_common/workflow/__init__.py +++ b/src/vibe_common/vibe_common/workflow/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_core/setup.py b/src/vibe_core/setup.py index 7f1a1763..fa5a68c9 100644 --- a/src/vibe_core/setup.py +++ b/src/vibe_core/setup.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from setuptools import setup if __name__ == "__main__": diff --git a/src/vibe_core/tests/test_register.py b/src/vibe_core/tests/test_register.py index b2b9f094..e02d938a 100644 --- a/src/vibe_core/tests/test_register.py +++ b/src/vibe_core/tests/test_register.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from vibe_core.data import DataVibe, data_registry diff --git a/src/vibe_core/tests/test_stac_converter.py b/src/vibe_core/tests/test_stac_converter.py index 23224363..4321d8c0 100644 --- a/src/vibe_core/tests/test_stac_converter.py +++ b/src/vibe_core/tests/test_stac_converter.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # pyright: reportUnknownMemberType=false from dataclasses import dataclass diff --git a/src/vibe_core/tests/test_type_serialization.py b/src/vibe_core/tests/test_type_serialization.py index c37290fd..c4019fe4 100644 --- a/src/vibe_core/tests/test_type_serialization.py +++ b/src/vibe_core/tests/test_type_serialization.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import inspect import typing from datetime import datetime diff --git a/src/vibe_core/tests/test_utils.py b/src/vibe_core/tests/test_utils.py index c2301ec4..331dbbc0 100644 --- a/src/vibe_core/tests/test_utils.py +++ b/src/vibe_core/tests/test_utils.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from dataclasses import dataclass from datetime import datetime from typing import Any, Dict, List, Tuple, cast diff --git a/src/vibe_core/vibe_core/__init__.py b/src/vibe_core/vibe_core/__init__.py index ffeb1cd5..3cd867d2 100644 --- a/src/vibe_core/vibe_core/__init__.py +++ b/src/vibe_core/vibe_core/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Core types and functions, as well as constants used throughout FarmVibes.AI.""" from .client import Client, FarmvibesAiClient diff --git a/src/vibe_core/vibe_core/admag_client.py b/src/vibe_core/vibe_core/admag_client.py index 62c4695f..2d84d701 100644 --- a/src/vibe_core/vibe_core/admag_client.py +++ b/src/vibe_core/vibe_core/admag_client.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Data types and supporting functions for interacting with Azure Data Manager for Agriculture.""" import json diff --git a/src/vibe_core/vibe_core/cli/__init__.py b/src/vibe_core/vibe_core/cli/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_core/vibe_core/cli/__init__.py +++ b/src/vibe_core/vibe_core/cli/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_core/vibe_core/cli/constants.py b/src/vibe_core/vibe_core/cli/constants.py index be6bdb8c..09d9651a 100644 --- a/src/vibe_core/vibe_core/cli/constants.py +++ b/src/vibe_core/vibe_core/cli/constants.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + DEFAULT_IMAGE_PREFIX = "farmai/terravibes/" DEFAULT_IMAGE_TAG = "dev" DEFAULT_REGISTRY_PATH = "mcr.microsoft.com" diff --git a/src/vibe_core/vibe_core/cli/help_descriptions.py b/src/vibe_core/vibe_core/cli/help_descriptions.py index 9d671d71..7ce72327 100644 --- a/src/vibe_core/vibe_core/cli/help_descriptions.py +++ b/src/vibe_core/vibe_core/cli/help_descriptions.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + ADD_ONNX_HELP = """\ Adds an Onnx model to the TerraVibes cluster. After being added, one can use this \ model in the ops compute_onnx and compute_onnx_from_sequence (by setting the parameter model_file \ diff --git a/src/vibe_core/vibe_core/cli/helper.py b/src/vibe_core/vibe_core/cli/helper.py index 51f7f6b9..f2d6b02e 100644 --- a/src/vibe_core/vibe_core/cli/helper.py +++ b/src/vibe_core/vibe_core/cli/helper.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import locale import os import socket diff --git a/src/vibe_core/vibe_core/cli/local.py b/src/vibe_core/vibe_core/cli/local.py index 85fb0c30..2677df45 100644 --- a/src/vibe_core/vibe_core/cli/local.py +++ b/src/vibe_core/vibe_core/cli/local.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import argparse import codecs import os diff --git a/src/vibe_core/vibe_core/cli/logging.py b/src/vibe_core/vibe_core/cli/logging.py index b5ef0c63..e6a44a95 100644 --- a/src/vibe_core/vibe_core/cli/logging.py +++ b/src/vibe_core/vibe_core/cli/logging.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import logging.handlers import pathlib diff --git a/src/vibe_core/vibe_core/cli/main.py b/src/vibe_core/vibe_core/cli/main.py index 92031069..5b889e4f 100644 --- a/src/vibe_core/vibe_core/cli/main.py +++ b/src/vibe_core/vibe_core/cli/main.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import argparse import sys diff --git a/src/vibe_core/vibe_core/cli/osartifacts.py b/src/vibe_core/vibe_core/cli/osartifacts.py index c5f2bc87..eafaa883 100644 --- a/src/vibe_core/vibe_core/cli/osartifacts.py +++ b/src/vibe_core/vibe_core/cli/osartifacts.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import pathlib import platform diff --git a/src/vibe_core/vibe_core/cli/parsers.py b/src/vibe_core/vibe_core/cli/parsers.py index c10ff46e..13fb0f30 100644 --- a/src/vibe_core/vibe_core/cli/parsers.py +++ b/src/vibe_core/vibe_core/cli/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import argparse import getpass import os diff --git a/src/vibe_core/vibe_core/cli/remote.py b/src/vibe_core/vibe_core/cli/remote.py index 4b6644d5..5ea44d0c 100644 --- a/src/vibe_core/vibe_core/cli/remote.py +++ b/src/vibe_core/vibe_core/cli/remote.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import argparse import os from typing import Optional diff --git a/src/vibe_core/vibe_core/cli/wrappers.py b/src/vibe_core/vibe_core/cli/wrappers.py index 6c82722a..6deaf4a6 100644 --- a/src/vibe_core/vibe_core/cli/wrappers.py +++ b/src/vibe_core/vibe_core/cli/wrappers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib import json import os diff --git a/src/vibe_core/vibe_core/client.py b/src/vibe_core/vibe_core/client.py index 56ac95b1..f6c2497f 100644 --- a/src/vibe_core/vibe_core/client.py +++ b/src/vibe_core/vibe_core/client.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """FarmVibes.AI client. This module provides a client for the FarmVibes.AI service, which allows users to interact with the diff --git a/src/vibe_core/vibe_core/data/__init__.py b/src/vibe_core/vibe_core/data/__init__.py index 5a1e78da..ecacf110 100644 --- a/src/vibe_core/vibe_core/data/__init__.py +++ b/src/vibe_core/vibe_core/data/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Core data model for FarmVibes.AI.""" from .airbus import AirbusPrice, AirbusProduct, AirbusRaster diff --git a/src/vibe_core/vibe_core/data/airbus.py b/src/vibe_core/vibe_core/data/airbus.py index e3e618d8..046a8d4f 100644 --- a/src/vibe_core/vibe_core/data/airbus.py +++ b/src/vibe_core/vibe_core/data/airbus.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """AirBus data types.""" from dataclasses import dataclass diff --git a/src/vibe_core/vibe_core/data/core_types.py b/src/vibe_core/vibe_core/data/core_types.py index da6b4fa2..231fbed3 100644 --- a/src/vibe_core/vibe_core/data/core_types.py +++ b/src/vibe_core/vibe_core/data/core_types.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Core data classes, functions, and constants of FarmVibes.AI.""" import hashlib diff --git a/src/vibe_core/vibe_core/data/data_registry.py b/src/vibe_core/vibe_core/data/data_registry.py index a55c1fcd..eabc995a 100644 --- a/src/vibe_core/vibe_core/data/data_registry.py +++ b/src/vibe_core/vibe_core/data/data_registry.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Data registry types and functions used in FarmVibes.AI.""" import warnings diff --git a/src/vibe_core/vibe_core/data/farm.py b/src/vibe_core/vibe_core/data/farm.py index c5c46881..e0c63aae 100644 --- a/src/vibe_core/vibe_core/data/farm.py +++ b/src/vibe_core/vibe_core/data/farm.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Azure Data Manager for Agriculture (ADMA) data types.""" from dataclasses import dataclass diff --git a/src/vibe_core/vibe_core/data/json_converter.py b/src/vibe_core/vibe_core/data/json_converter.py index 4729dfde..9032f58f 100644 --- a/src/vibe_core/vibe_core/data/json_converter.py +++ b/src/vibe_core/vibe_core/data/json_converter.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """JSON serialization/deserialization utilities.""" import json diff --git a/src/vibe_core/vibe_core/data/products.py b/src/vibe_core/vibe_core/data/products.py index 231bc5ec..3683ba33 100644 --- a/src/vibe_core/vibe_core/data/products.py +++ b/src/vibe_core/vibe_core/data/products.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Data type and functions definitions related to the products supported in FarmVibes.AI.""" import mimetypes diff --git a/src/vibe_core/vibe_core/data/rasters.py b/src/vibe_core/vibe_core/data/rasters.py index 131f55f1..d4ee84ca 100644 --- a/src/vibe_core/vibe_core/data/rasters.py +++ b/src/vibe_core/vibe_core/data/rasters.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Data types, constants, and supporting functions for manipulating rasters in FarmVibes.AI.""" from dataclasses import dataclass, field diff --git a/src/vibe_core/vibe_core/data/sentinel.py b/src/vibe_core/vibe_core/data/sentinel.py index 7f7bc40e..4b7459fe 100644 --- a/src/vibe_core/vibe_core/data/sentinel.py +++ b/src/vibe_core/vibe_core/data/sentinel.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Data types and supporting functions for Sentinel data in FarmVibes.AI.""" import mimetypes diff --git a/src/vibe_core/vibe_core/data/utils.py b/src/vibe_core/vibe_core/data/utils.py index a4423853..ba32aa73 100644 --- a/src/vibe_core/vibe_core/data/utils.py +++ b/src/vibe_core/vibe_core/data/utils.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Utilities for interacting with STAC items and serialization/deserialization.""" import json diff --git a/src/vibe_core/vibe_core/data/weather.py b/src/vibe_core/vibe_core/data/weather.py index e2fe5296..df2b8d30 100644 --- a/src/vibe_core/vibe_core/data/weather.py +++ b/src/vibe_core/vibe_core/data/weather.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Weather data types and function definitions.""" import hashlib diff --git a/src/vibe_core/vibe_core/datamodel.py b/src/vibe_core/vibe_core/datamodel.py index 3fd863fa..b9c0a0d9 100644 --- a/src/vibe_core/vibe_core/datamodel.py +++ b/src/vibe_core/vibe_core/datamodel.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Data model classes definition used throughout FarmVibes.AI.""" import codecs diff --git a/src/vibe_core/vibe_core/farmvibes_ai_hello_world.py b/src/vibe_core/vibe_core/farmvibes_ai_hello_world.py index b52ecc17..5211ed1c 100644 --- a/src/vibe_core/vibe_core/farmvibes_ai_hello_world.py +++ b/src/vibe_core/vibe_core/farmvibes_ai_hello_world.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from datetime import datetime, timezone diff --git a/src/vibe_core/vibe_core/file_downloader.py b/src/vibe_core/vibe_core/file_downloader.py index 651d7f92..9816fc21 100644 --- a/src/vibe_core/vibe_core/file_downloader.py +++ b/src/vibe_core/vibe_core/file_downloader.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """File downloader utility methods and classes.""" import logging diff --git a/src/vibe_core/vibe_core/file_utils.py b/src/vibe_core/vibe_core/file_utils.py index e5569388..c190450c 100644 --- a/src/vibe_core/vibe_core/file_utils.py +++ b/src/vibe_core/vibe_core/file_utils.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Utility functions for working with files.""" import os diff --git a/src/vibe_core/vibe_core/logconfig.py b/src/vibe_core/vibe_core/logconfig.py index 1e2eaa50..96c7a318 100644 --- a/src/vibe_core/vibe_core/logconfig.py +++ b/src/vibe_core/vibe_core/logconfig.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Utility functions for configuring logging.""" import json diff --git a/src/vibe_core/vibe_core/monitor.py b/src/vibe_core/vibe_core/monitor.py index 1c7010c4..7c8ef56d 100644 --- a/src/vibe_core/vibe_core/monitor.py +++ b/src/vibe_core/vibe_core/monitor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Classes and functions definition for monitoring workflow runs.""" from collections import Counter diff --git a/src/vibe_core/vibe_core/terraform/__init__.py b/src/vibe_core/vibe_core/terraform/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_core/vibe_core/terraform/__init__.py +++ b/src/vibe_core/vibe_core/terraform/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_core/vibe_core/terraform/aks/__init__.py b/src/vibe_core/vibe_core/terraform/aks/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_core/vibe_core/terraform/aks/__init__.py +++ b/src/vibe_core/vibe_core/terraform/aks/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_core/vibe_core/terraform/aks/main.tf b/src/vibe_core/vibe_core/terraform/aks/main.tf index 68b7dbc3..f3f11a1d 100644 --- a/src/vibe_core/vibe_core/terraform/aks/main.tf +++ b/src/vibe_core/vibe_core/terraform/aks/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_version = ">=0.12" } diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/__init__.py b/src/vibe_core/vibe_core/terraform/aks/modules/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/__init__.py +++ b/src/vibe_core/vibe_core/terraform/aks/modules/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/infra/azure_monitor.tf b/src/vibe_core/vibe_core/terraform/aks/modules/infra/azure_monitor.tf index 0c9bca85..e096b5d0 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/infra/azure_monitor.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/infra/azure_monitor.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "azurerm_log_analytics_workspace" "analyticsworkspace" { name = "${var.prefix}-analytics-workspace-${resource.random_string.name_suffix.result}" count = var.enable_telemetry ? 1 : 0 diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/infra/cosmos.tf b/src/vibe_core/vibe_core/terraform/aks/modules/infra/cosmos.tf index 309f552a..76b51151 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/infra/cosmos.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/infra/cosmos.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "azurerm_cosmosdb_account" "cosmos" { name = "${var.prefix}-cosmos-${resource.random_string.name_suffix.result}" location = var.location diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/infra/data.tf b/src/vibe_core/vibe_core/terraform/aks/modules/infra/data.tf index bb087fd1..10d56e0b 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/infra/data.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/infra/data.tf @@ -1 +1,4 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + data "azurerm_client_config" "current" {} \ No newline at end of file diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/infra/keyvault.tf b/src/vibe_core/vibe_core/terraform/aks/modules/infra/keyvault.tf index 8ac3a46c..747456f8 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/infra/keyvault.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/infra/keyvault.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + data "http" "ip" { url = "https://ipv4.icanhazip.com" } diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/infra/kubernetes.tf b/src/vibe_core/vibe_core/terraform/aks/modules/infra/kubernetes.tf index f2f33f0b..a7bec902 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/infra/kubernetes.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/infra/kubernetes.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { default_node_pool_max_count = 3 } diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/infra/outputs.tf b/src/vibe_core/vibe_core/terraform/aks/modules/infra/outputs.tf index 44a54738..879112f3 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/infra/outputs.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/infra/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + output "kubernetes_config_path" { value = local_file.kubeconfig.filename diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/infra/providers.tf b/src/vibe_core/vibe_core/terraform/aks/modules/infra/providers.tf index 826f447e..6877ac1b 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/infra/providers.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/infra/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_version = ">=0.12" diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/infra/publicip.tf b/src/vibe_core/vibe_core/terraform/aks/modules/infra/publicip.tf index 3227a708..81161cba 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/infra/publicip.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/infra/publicip.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "azurerm_public_ip" "publicip" { name = "${var.prefix}-${substr(sha256(var.resource_group_name), 0, 6)}-ip" resource_group_name = azurerm_kubernetes_cluster.kubernetes.node_resource_group diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/infra/random.tf b/src/vibe_core/vibe_core/terraform/aks/modules/infra/random.tf index c1b4455e..019c2a32 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/infra/random.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/infra/random.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "random_string" "name_suffix" { length = 5 special = false diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/infra/resourcegroup.tf b/src/vibe_core/vibe_core/terraform/aks/modules/infra/resourcegroup.tf index 425d2c8e..abde1fb7 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/infra/resourcegroup.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/infra/resourcegroup.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + data "azurerm_resource_group" "resourcegroup" { name = var.resource_group_name } \ No newline at end of file diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/infra/storage.tf b/src/vibe_core/vibe_core/terraform/aks/modules/infra/storage.tf index 878098b8..8675cc90 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/infra/storage.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/infra/storage.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "azurerm_storage_account" "storageaccount" { name = "storage${resource.random_string.name_suffix.result}" resource_group_name = var.resource_group_name diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/infra/variables.tf b/src/vibe_core/vibe_core/terraform/aks/modules/infra/variables.tf index da7cd61d..8f1cbbcd 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/infra/variables.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/infra/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + variable "location" { description = "Location of the resources." } diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/infra/vnet.tf b/src/vibe_core/vibe_core/terraform/aks/modules/infra/vnet.tf index 3b4c9666..474ede52 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/infra/vnet.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/infra/vnet.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "azurerm_network_security_group" "aks-nsg" { name = "${var.prefix}-nsg" location = var.location diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/cert.tf b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/cert.tf index cfe11999..f6e345b2 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/cert.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/cert.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "helm_release" "letsencrypt" { name = "cert-manager" repository = "https://charts.jetstack.io" diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/dapr.tf b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/dapr.tf index 7c4a1c1e..b1c23dfa 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/dapr.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/dapr.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "kubernetes_namespace" "kubernetesdaprnamespace" { metadata { name = "dapr-system" diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/init.tf b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/init.tf index 5aee9b92..87195161 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/init.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/init.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "kubernetes_namespace" "kubernetesnamespace" { count = var.namespace == "default" ? 0 : 1 metadata { diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/otel.tf b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/otel.tf index b6d2953c..22fa2964 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/otel.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/otel.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "kubernetes_config_map" "otel" { count = var.enable_telemetry ? 1 : 0 metadata { diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/outputs.tf b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/outputs.tf index 2ffb7325..1b038ae5 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/outputs.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + output "dapr_sidecars_deployed" { value = true diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/persistentvolume.tf b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/persistentvolume.tf index 698e124a..0e0f194f 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/persistentvolume.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/persistentvolume.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "kubernetes_storage_class" "csi_storage_class" { metadata { name = "csi-storage-class" diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/providers.tf b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/providers.tf index 8f6f9128..f89df4ca 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/providers.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_version = ">=0.12" diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/rabbitmq.tf b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/rabbitmq.tf index 7f654d51..0c1ecbe0 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/rabbitmq.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/rabbitmq.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "helm_release" "rabbitmq" { name = "rabbitmq" diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/redis.tf b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/redis.tf index e72404f6..d35ff912 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/redis.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/redis.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "helm_release" "redis" { name = "redis" diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/variables.tf b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/variables.tf index 0ee12e20..0499a01c 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/variables.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/kubernetes/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + variable "tenantId" { description = "Tenant ID" } diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/rg/providers.tf b/src/vibe_core/vibe_core/terraform/aks/modules/rg/providers.tf index 3b1e5d28..75ff3fbc 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/rg/providers.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/rg/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_version = ">=0.12" diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/rg/random.tf b/src/vibe_core/vibe_core/terraform/aks/modules/rg/random.tf index c1b4455e..019c2a32 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/rg/random.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/rg/random.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "random_string" "name_suffix" { length = 5 special = false diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/rg/resourcegroup.tf b/src/vibe_core/vibe_core/terraform/aks/modules/rg/resourcegroup.tf index dc40a4d8..23957b70 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/rg/resourcegroup.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/rg/resourcegroup.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "azurerm_resource_group" "resourcegroup" { location = var.location name = var.resource_group_name diff --git a/src/vibe_core/vibe_core/terraform/aks/modules/rg/variables.tf b/src/vibe_core/vibe_core/terraform/aks/modules/rg/variables.tf index e7e8ac2f..c28d9946 100644 --- a/src/vibe_core/vibe_core/terraform/aks/modules/rg/variables.tf +++ b/src/vibe_core/vibe_core/terraform/aks/modules/rg/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + variable "location" { description = "Location of the resources." } diff --git a/src/vibe_core/vibe_core/terraform/aks/variables.tf b/src/vibe_core/vibe_core/terraform/aks/variables.tf index 8669e52f..9f3222fc 100644 --- a/src/vibe_core/vibe_core/terraform/aks/variables.tf +++ b/src/vibe_core/vibe_core/terraform/aks/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + variable "location" { description = "Azure Location of the resources." } diff --git a/src/vibe_core/vibe_core/terraform/local/__init__.py b/src/vibe_core/vibe_core/terraform/local/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_core/vibe_core/terraform/local/__init__.py +++ b/src/vibe_core/vibe_core/terraform/local/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_core/vibe_core/terraform/local/main.tf b/src/vibe_core/vibe_core/terraform/local/main.tf index a8eba912..ad1a247c 100644 --- a/src/vibe_core/vibe_core/terraform/local/main.tf +++ b/src/vibe_core/vibe_core/terraform/local/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_version = ">=0.12" backend "local" { diff --git a/src/vibe_core/vibe_core/terraform/local/modules/__init__.py b/src/vibe_core/vibe_core/terraform/local/modules/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_core/vibe_core/terraform/local/modules/__init__.py +++ b/src/vibe_core/vibe_core/terraform/local/modules/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/dapr.tf b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/dapr.tf index b2bec611..3073820d 100644 --- a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/dapr.tf +++ b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/dapr.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "kubernetes_namespace" "kubernetesdaprnamespace" { metadata { name = "dapr-system" diff --git a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/jaeger.tf b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/jaeger.tf index 8c4f8122..0ae49f75 100644 --- a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/jaeger.tf +++ b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/jaeger.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "kubernetes_deployment" "jaeger" { count = var.enable_telemetry ? 1 : 0 metadata { diff --git a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/otel.tf b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/otel.tf index d506aca7..b4e2d2a7 100644 --- a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/otel.tf +++ b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/otel.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "kubernetes_config_map" "otel_collector_config" { count = var.enable_telemetry ? 1 : 0 metadata { diff --git a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/outputs.tf b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/outputs.tf index aad39080..7e2ca6b2 100644 --- a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/outputs.tf +++ b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + output "ready_to_deploy" { value = true diff --git a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/persistentvolume.tf b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/persistentvolume.tf index c74e2f8d..278115c1 100644 --- a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/persistentvolume.tf +++ b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/persistentvolume.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "kubernetes_persistent_volume" "user_storage_pv" { metadata { name = "user-storage-pv" diff --git a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/providers.tf b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/providers.tf index a8987627..d933e5fe 100644 --- a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/providers.tf +++ b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_version = ">=0.12" diff --git a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/rabbitmq.tf b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/rabbitmq.tf index cb5690c9..35cccd5d 100644 --- a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/rabbitmq.tf +++ b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/rabbitmq.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "helm_release" "rabbitmq" { name = "rabbitmq" diff --git a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/redis.tf b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/redis.tf index 537ce6ce..da2d11e3 100644 --- a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/redis.tf +++ b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/redis.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "helm_release" "redis" { name = "redis" diff --git a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/variables.tf b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/variables.tf index 5da0bdef..8942f97f 100644 --- a/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/variables.tf +++ b/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + variable "namespace" { description = "Namespace" } diff --git a/src/vibe_core/vibe_core/terraform/local/variables.tf b/src/vibe_core/vibe_core/terraform/local/variables.tf index 4c226a9c..bc080f19 100644 --- a/src/vibe_core/vibe_core/terraform/local/variables.tf +++ b/src/vibe_core/vibe_core/terraform/local/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + variable "acr_registry" { description = "ACR Registry" } diff --git a/src/vibe_core/vibe_core/terraform/services/__init__.py b/src/vibe_core/vibe_core/terraform/services/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_core/vibe_core/terraform/services/__init__.py +++ b/src/vibe_core/vibe_core/terraform/services/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_core/vibe_core/terraform/services/cache.tf b/src/vibe_core/vibe_core/terraform/services/cache.tf index 75c46859..95015e4f 100644 --- a/src/vibe_core/vibe_core/terraform/services/cache.tf +++ b/src/vibe_core/vibe_core/terraform/services/cache.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { cache_common_args = concat( [ diff --git a/src/vibe_core/vibe_core/terraform/services/dataops.tf b/src/vibe_core/vibe_core/terraform/services/dataops.tf index 1856228e..bbd40e80 100644 --- a/src/vibe_core/vibe_core/terraform/services/dataops.tf +++ b/src/vibe_core/vibe_core/terraform/services/dataops.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { service_name = "terravibes-data-ops" data_ops_common_args = concat( diff --git a/src/vibe_core/vibe_core/terraform/services/init.tf b/src/vibe_core/vibe_core/terraform/services/init.tf index e69de29b..b7c52582 100644 --- a/src/vibe_core/vibe_core/terraform/services/init.tf +++ b/src/vibe_core/vibe_core/terraform/services/init.tf @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_core/vibe_core/terraform/services/orchestrator.tf b/src/vibe_core/vibe_core/terraform/services/orchestrator.tf index f0b14631..d077c2d9 100644 --- a/src/vibe_core/vibe_core/terraform/services/orchestrator.tf +++ b/src/vibe_core/vibe_core/terraform/services/orchestrator.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { orchestrator_common_args = concat( [ diff --git a/src/vibe_core/vibe_core/terraform/services/providers.tf b/src/vibe_core/vibe_core/terraform/services/providers.tf index f313fa96..7f4027dd 100644 --- a/src/vibe_core/vibe_core/terraform/services/providers.tf +++ b/src/vibe_core/vibe_core/terraform/services/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_version = ">=0.12" diff --git a/src/vibe_core/vibe_core/terraform/services/restapi.tf b/src/vibe_core/vibe_core/terraform/services/restapi.tf index 829ffd9c..cf973c34 100644 --- a/src/vibe_core/vibe_core/terraform/services/restapi.tf +++ b/src/vibe_core/vibe_core/terraform/services/restapi.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { restapi_common_args = concat( [ diff --git a/src/vibe_core/vibe_core/terraform/services/variables.tf b/src/vibe_core/vibe_core/terraform/services/variables.tf index 767c3333..8cf617a3 100644 --- a/src/vibe_core/vibe_core/terraform/services/variables.tf +++ b/src/vibe_core/vibe_core/terraform/services/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + variable "prefix" { description = "Prefix for resources" } diff --git a/src/vibe_core/vibe_core/terraform/services/worker.tf b/src/vibe_core/vibe_core/terraform/services/worker.tf index 743770d8..d15f2e88 100644 --- a/src/vibe_core/vibe_core/terraform/services/worker.tf +++ b/src/vibe_core/vibe_core/terraform/services/worker.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { worker_common_args = concat( [ diff --git a/src/vibe_core/vibe_core/testing/__init__.py b/src/vibe_core/vibe_core/testing/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_core/vibe_core/testing/__init__.py +++ b/src/vibe_core/vibe_core/testing/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_core/vibe_core/testing/comparison.py b/src/vibe_core/vibe_core/testing/comparison.py index 9b279eba..e08e30e4 100644 --- a/src/vibe_core/vibe_core/testing/comparison.py +++ b/src/vibe_core/vibe_core/testing/comparison.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from dataclasses import fields from typing import List diff --git a/src/vibe_core/vibe_core/uri.py b/src/vibe_core/vibe_core/uri.py index 26161512..db835d2e 100644 --- a/src/vibe_core/vibe_core/uri.py +++ b/src/vibe_core/vibe_core/uri.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Utility functions for working with URIs.""" import os diff --git a/src/vibe_core/vibe_core/utils.py b/src/vibe_core/vibe_core/utils.py index 357cdeff..661a843a 100644 --- a/src/vibe_core/vibe_core/utils.py +++ b/src/vibe_core/vibe_core/utils.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """General utility functions used across FarmVibes.AI codebase.""" from dataclasses import dataclass diff --git a/src/vibe_dev/setup.py b/src/vibe_dev/setup.py index dd5dbec8..debeb452 100644 --- a/src/vibe_dev/setup.py +++ b/src/vibe_dev/setup.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from setuptools import find_packages, setup setup( diff --git a/src/vibe_dev/vibe_dev/__init__.py b/src/vibe_dev/vibe_dev/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_dev/vibe_dev/__init__.py +++ b/src/vibe_dev/vibe_dev/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_dev/vibe_dev/client/__init__.py b/src/vibe_dev/vibe_dev/client/__init__.py index 11a0e1a7..cf22b87d 100644 --- a/src/vibe_dev/vibe_dev/client/__init__.py +++ b/src/vibe_dev/vibe_dev/client/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from vibe_core.client import get_default_vibe_client from .remote_client import get_ppe_vibe_client diff --git a/src/vibe_dev/vibe_dev/client/remote_client.py b/src/vibe_dev/vibe_dev/client/remote_client.py index 0b796562..4b0c2caa 100644 --- a/src/vibe_dev/vibe_dev/client/remote_client.py +++ b/src/vibe_dev/vibe_dev/client/remote_client.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from vibe_core.client import FarmvibesAiClient PPE_URL = "https://ppe-terravibes-api.57fb76945e6d4b66a912.eastus.aksapp.io/" diff --git a/src/vibe_dev/vibe_dev/client/subprocess_client.py b/src/vibe_dev/vibe_dev/client/subprocess_client.py index dc9e671b..ae4fbc0e 100644 --- a/src/vibe_dev/vibe_dev/client/subprocess_client.py +++ b/src/vibe_dev/vibe_dev/client/subprocess_client.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from datetime import datetime from typing import Any, List, Tuple, cast diff --git a/src/vibe_dev/vibe_dev/local_runner.py b/src/vibe_dev/vibe_dev/local_runner.py index 5951219d..067cf81a 100644 --- a/src/vibe_dev/vibe_dev/local_runner.py +++ b/src/vibe_dev/vibe_dev/local_runner.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import cast from uuid import UUID diff --git a/src/vibe_dev/vibe_dev/mock_utils.py b/src/vibe_dev/vibe_dev/mock_utils.py index 436dc6ca..8dc511e4 100644 --- a/src/vibe_dev/vibe_dev/mock_utils.py +++ b/src/vibe_dev/vibe_dev/mock_utils.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Dict from pydantic import BaseModel diff --git a/src/vibe_dev/vibe_dev/testing/__init__.py b/src/vibe_dev/vibe_dev/testing/__init__.py index af7e4799..4863cccf 100644 --- a/src/vibe_dev/vibe_dev/testing/__init__.py +++ b/src/vibe_dev/vibe_dev/testing/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import pytest diff --git a/src/vibe_dev/vibe_dev/testing/fake_ops/fake/base_op.py b/src/vibe_dev/vibe_dev/testing/fake_ops/fake/base_op.py index e8eae5d4..84787cc3 100644 --- a/src/vibe_dev/vibe_dev/testing/fake_ops/fake/base_op.py +++ b/src/vibe_dev/vibe_dev/testing/fake_ops/fake/base_op.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from dataclasses import asdict from typing import Any, List, Union diff --git a/src/vibe_dev/vibe_dev/testing/fake_ops/fake/op.py b/src/vibe_dev/vibe_dev/testing/fake_ops/fake/op.py index cb20bb81..0e59efc6 100644 --- a/src/vibe_dev/vibe_dev/testing/fake_ops/fake/op.py +++ b/src/vibe_dev/vibe_dev/testing/fake_ops/fake/op.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from typing import Any diff --git a/src/vibe_dev/vibe_dev/testing/fake_ops/fake/to_item_op.py b/src/vibe_dev/vibe_dev/testing/fake_ops/fake/to_item_op.py index 1825a6be..1cd6c821 100644 --- a/src/vibe_dev/vibe_dev/testing/fake_ops/fake/to_item_op.py +++ b/src/vibe_dev/vibe_dev/testing/fake_ops/fake/to_item_op.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, List from vibe_core.data import DataVibe diff --git a/src/vibe_dev/vibe_dev/testing/fake_ops/fake/to_list_op.py b/src/vibe_dev/vibe_dev/testing/fake_ops/fake/to_list_op.py index f9a30042..7460d81f 100644 --- a/src/vibe_dev/vibe_dev/testing/fake_ops/fake/to_list_op.py +++ b/src/vibe_dev/vibe_dev/testing/fake_ops/fake/to_list_op.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any from vibe_core.data import DataVibe diff --git a/src/vibe_dev/vibe_dev/testing/fake_ops/fake/vibe_op.py b/src/vibe_dev/vibe_dev/testing/fake_ops/fake/vibe_op.py index 326ccefc..39159f9a 100644 --- a/src/vibe_dev/vibe_dev/testing/fake_ops/fake/vibe_op.py +++ b/src/vibe_dev/vibe_dev/testing/fake_ops/fake/vibe_op.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, List, Union from vibe_core.data import DataVibe diff --git a/src/vibe_dev/vibe_dev/testing/fake_workflows_fixtures.py b/src/vibe_dev/vibe_dev/testing/fake_workflows_fixtures.py index 3fa3ddcc..9e7d63e9 100644 --- a/src/vibe_dev/vibe_dev/testing/fake_workflows_fixtures.py +++ b/src/vibe_dev/vibe_dev/testing/fake_workflows_fixtures.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from dataclasses import dataclass diff --git a/src/vibe_dev/vibe_dev/testing/op_tester.py b/src/vibe_dev/vibe_dev/testing/op_tester.py index 7a2f0736..7c247985 100644 --- a/src/vibe_dev/vibe_dev/testing/op_tester.py +++ b/src/vibe_dev/vibe_dev/testing/op_tester.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import json import logging import os diff --git a/src/vibe_dev/vibe_dev/testing/storage_fixtures.py b/src/vibe_dev/vibe_dev/testing/storage_fixtures.py index 61f9012a..2b29d2d2 100644 --- a/src/vibe_dev/vibe_dev/testing/storage_fixtures.py +++ b/src/vibe_dev/vibe_dev/testing/storage_fixtures.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import uuid from typing import cast diff --git a/src/vibe_dev/vibe_dev/testing/utils.py b/src/vibe_dev/vibe_dev/testing/utils.py index 7409a474..17634ce7 100644 --- a/src/vibe_dev/vibe_dev/testing/utils.py +++ b/src/vibe_dev/vibe_dev/testing/utils.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import List from unittest import TestCase diff --git a/src/vibe_dev/vibe_dev/testing/workflow_fixtures.py b/src/vibe_dev/vibe_dev/testing/workflow_fixtures.py index aa0bf2a9..1e1e1a98 100644 --- a/src/vibe_dev/vibe_dev/testing/workflow_fixtures.py +++ b/src/vibe_dev/vibe_dev/testing/workflow_fixtures.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import uuid from dataclasses import dataclass from datetime import datetime diff --git a/src/vibe_lib/setup.py b/src/vibe_lib/setup.py index 154d8ad3..42c7f0bc 100644 --- a/src/vibe_lib/setup.py +++ b/src/vibe_lib/setup.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from setuptools import find_packages, setup setup( diff --git a/src/vibe_lib/tests/test_airbus_api.py b/src/vibe_lib/tests/test_airbus_api.py index 50cc531c..cdcab08a 100644 --- a/src/vibe_lib/tests/test_airbus_api.py +++ b/src/vibe_lib/tests/test_airbus_api.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Dict from unittest.mock import Mock, patch diff --git a/src/vibe_lib/tests/test_earthdata.py b/src/vibe_lib/tests/test_earthdata.py index c3aa3858..39a3cc99 100644 --- a/src/vibe_lib/tests/test_earthdata.py +++ b/src/vibe_lib/tests/test_earthdata.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import math from datetime import datetime from typing import Any, Optional, Tuple, cast diff --git a/src/vibe_lib/tests/test_predict_chips.py b/src/vibe_lib/tests/test_predict_chips.py index 407e4b32..6d3db524 100644 --- a/src/vibe_lib/tests/test_predict_chips.py +++ b/src/vibe_lib/tests/test_predict_chips.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from pathlib import Path from unittest.mock import MagicMock, patch diff --git a/src/vibe_lib/tests/test_raster_chipping.py b/src/vibe_lib/tests/test_raster_chipping.py index 420e2e7f..ba8444fe 100644 --- a/src/vibe_lib/tests/test_raster_chipping.py +++ b/src/vibe_lib/tests/test_raster_chipping.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from tempfile import TemporaryDirectory diff --git a/src/vibe_lib/vibe_lib/__init__.py b/src/vibe_lib/vibe_lib/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_lib/vibe_lib/__init__.py +++ b/src/vibe_lib/vibe_lib/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_lib/vibe_lib/airbus.py b/src/vibe_lib/vibe_lib/airbus.py index e7002c3a..e099e385 100644 --- a/src/vibe_lib/vibe_lib/airbus.py +++ b/src/vibe_lib/vibe_lib/airbus.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import json import os import time diff --git a/src/vibe_lib/vibe_lib/archive.py b/src/vibe_lib/vibe_lib/archive.py index d984f82c..bbf71844 100644 --- a/src/vibe_lib/vibe_lib/archive.py +++ b/src/vibe_lib/vibe_lib/archive.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import shutil diff --git a/src/vibe_lib/vibe_lib/bing_maps.py b/src/vibe_lib/vibe_lib/bing_maps.py index d23863f3..18ea2a3e 100644 --- a/src/vibe_lib/vibe_lib/bing_maps.py +++ b/src/vibe_lib/vibe_lib/bing_maps.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """ BingMaps API interface and auxiliary method to query tiles, download basemaps, and manipulate between lat-lon coordinates and tile x-y coordinates. Part of the code diff --git a/src/vibe_lib/vibe_lib/climatology_lab.py b/src/vibe_lib/vibe_lib/climatology_lab.py index 9e8d2f17..a3d64029 100644 --- a/src/vibe_lib/vibe_lib/climatology_lab.py +++ b/src/vibe_lib/vibe_lib/climatology_lab.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import hashlib from datetime import datetime from typing import List, Tuple diff --git a/src/vibe_lib/vibe_lib/comet_farm/__init__.py b/src/vibe_lib/vibe_lib/comet_farm/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_lib/vibe_lib/comet_farm/__init__.py +++ b/src/vibe_lib/vibe_lib/comet_farm/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_lib/vibe_lib/comet_farm/comet_model.py b/src/vibe_lib/vibe_lib/comet_farm/comet_model.py index 2a51400e..b9c9968d 100644 --- a/src/vibe_lib/vibe_lib/comet_farm/comet_model.py +++ b/src/vibe_lib/vibe_lib/comet_farm/comet_model.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, Dict, List, Union from pydantic import BaseModel, Field diff --git a/src/vibe_lib/vibe_lib/comet_farm/comet_requester.py b/src/vibe_lib/vibe_lib/comet_farm/comet_requester.py index 8947fb18..7794814d 100644 --- a/src/vibe_lib/vibe_lib/comet_farm/comet_requester.py +++ b/src/vibe_lib/vibe_lib/comet_farm/comet_requester.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import json from queue import Queue from typing import Any, Dict, Optional diff --git a/src/vibe_lib/vibe_lib/comet_farm/comet_server.py b/src/vibe_lib/vibe_lib/comet_farm/comet_server.py index 6fd4dab3..05ed1aec 100644 --- a/src/vibe_lib/vibe_lib/comet_farm/comet_server.py +++ b/src/vibe_lib/vibe_lib/comet_farm/comet_server.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import io import logging import os diff --git a/src/vibe_lib/vibe_lib/deepmc/encoder.py b/src/vibe_lib/vibe_lib/deepmc/encoder.py index c0dacfcd..6af9f5c5 100644 --- a/src/vibe_lib/vibe_lib/deepmc/encoder.py +++ b/src/vibe_lib/vibe_lib/deepmc/encoder.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Optional from torch import Tensor, nn diff --git a/src/vibe_lib/vibe_lib/deepmc/helpers.py b/src/vibe_lib/vibe_lib/deepmc/helpers.py index cec74153..9c4147b5 100644 --- a/src/vibe_lib/vibe_lib/deepmc/helpers.py +++ b/src/vibe_lib/vibe_lib/deepmc/helpers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, Optional import numpy as np diff --git a/src/vibe_lib/vibe_lib/deepmc/locally_connected.py b/src/vibe_lib/vibe_lib/deepmc/locally_connected.py index b9dc8e80..c7ea5e0b 100644 --- a/src/vibe_lib/vibe_lib/deepmc/locally_connected.py +++ b/src/vibe_lib/vibe_lib/deepmc/locally_connected.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Optional, Tuple, Union import torch diff --git a/src/vibe_lib/vibe_lib/deepmc/models.py b/src/vibe_lib/vibe_lib/deepmc/models.py index 99fab6d8..13e71de4 100644 --- a/src/vibe_lib/vibe_lib/deepmc/models.py +++ b/src/vibe_lib/vibe_lib/deepmc/models.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, List, Tuple, Union import torch diff --git a/src/vibe_lib/vibe_lib/deepmc/time.py b/src/vibe_lib/vibe_lib/deepmc/time.py index 3183c1f0..8c529265 100644 --- a/src/vibe_lib/vibe_lib/deepmc/time.py +++ b/src/vibe_lib/vibe_lib/deepmc/time.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from torch import Tensor, nn diff --git a/src/vibe_lib/vibe_lib/deepmc/transform.py b/src/vibe_lib/vibe_lib/deepmc/transform.py index 4552eea0..cc6f05d0 100644 --- a/src/vibe_lib/vibe_lib/deepmc/transform.py +++ b/src/vibe_lib/vibe_lib/deepmc/transform.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import torch.nn as nn from einops import rearrange from torch import Tensor diff --git a/src/vibe_lib/vibe_lib/earthdata.py b/src/vibe_lib/vibe_lib/earthdata.py index 1b79ca4f..362b35f8 100644 --- a/src/vibe_lib/vibe_lib/earthdata.py +++ b/src/vibe_lib/vibe_lib/earthdata.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """ Interact with NASA's EarthData platform's API """ diff --git a/src/vibe_lib/vibe_lib/gaussian_mixture.py b/src/vibe_lib/vibe_lib/gaussian_mixture.py index 17479b96..e9b81a96 100644 --- a/src/vibe_lib/vibe_lib/gaussian_mixture.py +++ b/src/vibe_lib/vibe_lib/gaussian_mixture.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, Tuple import numpy as np diff --git a/src/vibe_lib/vibe_lib/geometry.py b/src/vibe_lib/vibe_lib/geometry.py index aee11271..a2efd7a6 100644 --- a/src/vibe_lib/vibe_lib/geometry.py +++ b/src/vibe_lib/vibe_lib/geometry.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from enum import auto from functools import reduce from operator import add diff --git a/src/vibe_lib/vibe_lib/gfs_blob_utils.py b/src/vibe_lib/vibe_lib/gfs_blob_utils.py index f2a4545e..04d56e2b 100644 --- a/src/vibe_lib/vibe_lib/gfs_blob_utils.py +++ b/src/vibe_lib/vibe_lib/gfs_blob_utils.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime """ diff --git a/src/vibe_lib/vibe_lib/glad.py b/src/vibe_lib/vibe_lib/glad.py index 6dcbf703..735feef7 100644 --- a/src/vibe_lib/vibe_lib/glad.py +++ b/src/vibe_lib/vibe_lib/glad.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, Dict, Iterable, List import geopandas as gpd diff --git a/src/vibe_lib/vibe_lib/heatmap_neighbor.py b/src/vibe_lib/vibe_lib/heatmap_neighbor.py index 28f0a48f..84b0d6b0 100644 --- a/src/vibe_lib/vibe_lib/heatmap_neighbor.py +++ b/src/vibe_lib/vibe_lib/heatmap_neighbor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import cast import geopandas as gpd diff --git a/src/vibe_lib/vibe_lib/overlap_clustering.py b/src/vibe_lib/vibe_lib/overlap_clustering.py index 18f4f055..283898fe 100644 --- a/src/vibe_lib/vibe_lib/overlap_clustering.py +++ b/src/vibe_lib/vibe_lib/overlap_clustering.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import math from typing import Any diff --git a/src/vibe_lib/vibe_lib/planetary_computer.py b/src/vibe_lib/vibe_lib/planetary_computer.py index 28e425b1..8ad62691 100644 --- a/src/vibe_lib/vibe_lib/planetary_computer.py +++ b/src/vibe_lib/vibe_lib/planetary_computer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """ Planetary computer model for TerraVibes. Helps query and download items and assets. """ diff --git a/src/vibe_lib/vibe_lib/raster.py b/src/vibe_lib/vibe_lib/raster.py index dfd3a3c2..80ec6f51 100644 --- a/src/vibe_lib/vibe_lib/raster.py +++ b/src/vibe_lib/vibe_lib/raster.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import json import logging import mimetypes diff --git a/src/vibe_lib/vibe_lib/segment_anything.py b/src/vibe_lib/vibe_lib/segment_anything.py index 0d4267c3..2f405cd5 100644 --- a/src/vibe_lib/vibe_lib/segment_anything.py +++ b/src/vibe_lib/vibe_lib/segment_anything.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from itertools import product from math import ceil diff --git a/src/vibe_lib/vibe_lib/shapefile.py b/src/vibe_lib/vibe_lib/shapefile.py index 57a4ae47..6a50a954 100644 --- a/src/vibe_lib/vibe_lib/shapefile.py +++ b/src/vibe_lib/vibe_lib/shapefile.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from typing import Any diff --git a/src/vibe_lib/vibe_lib/spaceeye/__init__.py b/src/vibe_lib/vibe_lib/spaceeye/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_lib/vibe_lib/spaceeye/__init__.py +++ b/src/vibe_lib/vibe_lib/spaceeye/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_lib/vibe_lib/spaceeye/chip.py b/src/vibe_lib/vibe_lib/spaceeye/chip.py index 89ff19c2..1297bdb8 100644 --- a/src/vibe_lib/vibe_lib/spaceeye/chip.py +++ b/src/vibe_lib/vibe_lib/spaceeye/chip.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """ This module contains code for running a pytorch module in chips extracted from rasters. Chips are read from disk before inference and predictions are written diff --git a/src/vibe_lib/vibe_lib/spaceeye/dataset.py b/src/vibe_lib/vibe_lib/spaceeye/dataset.py index 1b38bc17..3284c461 100644 --- a/src/vibe_lib/vibe_lib/spaceeye/dataset.py +++ b/src/vibe_lib/vibe_lib/spaceeye/dataset.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """ Module for generating inputs for the SpaceEye model. diff --git a/src/vibe_lib/vibe_lib/spaceeye/illumination.py b/src/vibe_lib/vibe_lib/spaceeye/illumination.py index 3fb49107..a2b17d7c 100644 --- a/src/vibe_lib/vibe_lib/spaceeye/illumination.py +++ b/src/vibe_lib/vibe_lib/spaceeye/illumination.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """ Methods for computing, normalizing and interpolation illuminance of multispectral raster timeseries. diff --git a/src/vibe_lib/vibe_lib/spaceeye/interpolation.py b/src/vibe_lib/vibe_lib/spaceeye/interpolation.py index 5548c63c..cb9fc195 100644 --- a/src/vibe_lib/vibe_lib/spaceeye/interpolation.py +++ b/src/vibe_lib/vibe_lib/spaceeye/interpolation.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Dict import torch diff --git a/src/vibe_lib/vibe_lib/spaceeye/utils.py b/src/vibe_lib/vibe_lib/spaceeye/utils.py index 27552bb2..a87fd0c9 100644 --- a/src/vibe_lib/vibe_lib/spaceeye/utils.py +++ b/src/vibe_lib/vibe_lib/spaceeye/utils.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Dict, List, Sequence, TypeVar from vibe_core.data import S2ProcessingLevel, Sentinel2Product diff --git a/src/vibe_lib/vibe_lib/stats.py b/src/vibe_lib/vibe_lib/stats.py index 45866bcd..c3a276ef 100644 --- a/src/vibe_lib/vibe_lib/stats.py +++ b/src/vibe_lib/vibe_lib/stats.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime from typing import Any, Dict, List, NamedTuple, Sequence, cast diff --git a/src/vibe_lib/vibe_lib/timeseries.py b/src/vibe_lib/vibe_lib/timeseries.py index f9e4815e..4aa364e2 100644 --- a/src/vibe_lib/vibe_lib/timeseries.py +++ b/src/vibe_lib/vibe_lib/timeseries.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import mimetypes import os diff --git a/src/vibe_notebook/setup.py b/src/vibe_notebook/setup.py index baf85dd2..2b723afe 100644 --- a/src/vibe_notebook/setup.py +++ b/src/vibe_notebook/setup.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from setuptools import find_packages, setup setup( diff --git a/src/vibe_notebook/vibe_notebook/__init__.py b/src/vibe_notebook/vibe_notebook/__init__.py index bcac4a86..b4ba6ddd 100644 --- a/src/vibe_notebook/vibe_notebook/__init__.py +++ b/src/vibe_notebook/vibe_notebook/__init__.py @@ -1 +1,4 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Shared notebook library for FarmVibes.AI notebooks.""" diff --git a/src/vibe_notebook/vibe_notebook/deepmc/__init__.py b/src/vibe_notebook/vibe_notebook/deepmc/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_notebook/vibe_notebook/deepmc/__init__.py +++ b/src/vibe_notebook/vibe_notebook/deepmc/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_notebook/vibe_notebook/deepmc/forecast.py b/src/vibe_notebook/vibe_notebook/deepmc/forecast.py index 993a6617..a8742496 100644 --- a/src/vibe_notebook/vibe_notebook/deepmc/forecast.py +++ b/src/vibe_notebook/vibe_notebook/deepmc/forecast.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime, timedelta from typing import Any, Dict, List, Tuple, cast diff --git a/src/vibe_notebook/vibe_notebook/deepmc/prediction.py b/src/vibe_notebook/vibe_notebook/deepmc/prediction.py index eb72cd4a..9180ae10 100644 --- a/src/vibe_notebook/vibe_notebook/deepmc/prediction.py +++ b/src/vibe_notebook/vibe_notebook/deepmc/prediction.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import pickle from datetime import datetime, timedelta diff --git a/src/vibe_notebook/vibe_notebook/deepmc/preprocess.py b/src/vibe_notebook/vibe_notebook/deepmc/preprocess.py index a6a28113..67c4e043 100644 --- a/src/vibe_notebook/vibe_notebook/deepmc/preprocess.py +++ b/src/vibe_notebook/vibe_notebook/deepmc/preprocess.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import timedelta from math import ceil from typing import Any, List, Optional, Tuple diff --git a/src/vibe_notebook/vibe_notebook/deepmc/utils.py b/src/vibe_notebook/vibe_notebook/deepmc/utils.py index ffc2a2e2..57d51068 100644 --- a/src/vibe_notebook/vibe_notebook/deepmc/utils.py +++ b/src/vibe_notebook/vibe_notebook/deepmc/utils.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from datetime import datetime, timedelta from typing import Any, Dict, List diff --git a/src/vibe_notebook/vibe_notebook/plot.py b/src/vibe_notebook/vibe_notebook/plot.py index cfe93cba..2dcf72c1 100644 --- a/src/vibe_notebook/vibe_notebook/plot.py +++ b/src/vibe_notebook/vibe_notebook/plot.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Auxiliary methods for plotting and visualizing data in notebooks.""" import io diff --git a/src/vibe_notebook/vibe_notebook/raster.py b/src/vibe_notebook/vibe_notebook/raster.py index 7eee0f71..1e36d4f5 100644 --- a/src/vibe_notebook/vibe_notebook/raster.py +++ b/src/vibe_notebook/vibe_notebook/raster.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Raster data processing utilities.""" from typing import Any, List, Optional diff --git a/src/vibe_notebook/vibe_notebook/utils.py b/src/vibe_notebook/vibe_notebook/utils.py index 971d8751..c2c8b815 100644 --- a/src/vibe_notebook/vibe_notebook/utils.py +++ b/src/vibe_notebook/vibe_notebook/utils.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + """Additional utility methods used in the notebooks.""" import os diff --git a/src/vibe_server/setup.py b/src/vibe_server/setup.py index 7307eb52..184ac0fd 100644 --- a/src/vibe_server/setup.py +++ b/src/vibe_server/setup.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from setuptools import find_packages, setup setup( diff --git a/src/vibe_server/tests/conftest.py b/src/vibe_server/tests/conftest.py index 48ec6ac8..3c5bf8af 100644 --- a/src/vibe_server/tests/conftest.py +++ b/src/vibe_server/tests/conftest.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from dataclasses import asdict from typing import Any, Dict diff --git a/src/vibe_server/tests/test_graph.py b/src/vibe_server/tests/test_graph.py index 8a4d08f9..34ce87ba 100644 --- a/src/vibe_server/tests/test_graph.py +++ b/src/vibe_server/tests/test_graph.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import random from typing import Dict, List diff --git a/src/vibe_server/tests/test_href_handler.py b/src/vibe_server/tests/test_href_handler.py index a3bee77c..abc8ef39 100644 --- a/src/vibe_server/tests/test_href_handler.py +++ b/src/vibe_server/tests/test_href_handler.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import datetime import os from pathlib import Path diff --git a/src/vibe_server/tests/test_op_parallelism.py b/src/vibe_server/tests/test_op_parallelism.py index f7e4cf6f..75259b4d 100644 --- a/src/vibe_server/tests/test_op_parallelism.py +++ b/src/vibe_server/tests/test_op_parallelism.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, Awaitable, Callable, Dict, List, NamedTuple, cast from unittest.mock import MagicMock, patch from uuid import UUID, uuid4 diff --git a/src/vibe_server/tests/test_orchestrator.py b/src/vibe_server/tests/test_orchestrator.py index 936bd61c..52c47381 100644 --- a/src/vibe_server/tests/test_orchestrator.py +++ b/src/vibe_server/tests/test_orchestrator.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from asyncio.queues import Queue from dataclasses import asdict from datetime import datetime diff --git a/src/vibe_server/tests/test_parameter_resolver.py b/src/vibe_server/tests/test_parameter_resolver.py index 7889d9b8..4b9a6a69 100644 --- a/src/vibe_server/tests/test_parameter_resolver.py +++ b/src/vibe_server/tests/test_parameter_resolver.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from vibe_common.schemas import OperationParser diff --git a/src/vibe_server/tests/test_remote_workflow_runner.py b/src/vibe_server/tests/test_remote_workflow_runner.py index 37f8d781..9d4d8f6b 100644 --- a/src/vibe_server/tests/test_remote_workflow_runner.py +++ b/src/vibe_server/tests/test_remote_workflow_runner.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import sys import traceback diff --git a/src/vibe_server/tests/test_workflow.py b/src/vibe_server/tests/test_workflow.py index 544c0157..ce3abf06 100644 --- a/src/vibe_server/tests/test_workflow.py +++ b/src/vibe_server/tests/test_workflow.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os from typing import List diff --git a/src/vibe_server/tests/test_workflow_input_handler.py b/src/vibe_server/tests/test_workflow_input_handler.py index c7f0e071..4c69db14 100644 --- a/src/vibe_server/tests/test_workflow_input_handler.py +++ b/src/vibe_server/tests/test_workflow_input_handler.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import copy from dataclasses import dataclass from datetime import datetime diff --git a/src/vibe_server/tests/test_workflow_parser.py b/src/vibe_server/tests/test_workflow_parser.py index b21e8f46..4c39149e 100644 --- a/src/vibe_server/tests/test_workflow_parser.py +++ b/src/vibe_server/tests/test_workflow_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from dataclasses import asdict import pytest diff --git a/src/vibe_server/tests/test_workflow_runner.py b/src/vibe_server/tests/test_workflow_runner.py index 6576cbc1..066c16e6 100644 --- a/src/vibe_server/tests/test_workflow_runner.py +++ b/src/vibe_server/tests/test_workflow_runner.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, List from uuid import UUID, uuid4 diff --git a/src/vibe_server/tests/test_workflow_spec_validator.py b/src/vibe_server/tests/test_workflow_spec_validator.py index be54137e..159df489 100644 --- a/src/vibe_server/tests/test_workflow_spec_validator.py +++ b/src/vibe_server/tests/test_workflow_spec_validator.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import pytest from vibe_dev.testing.fake_workflows_fixtures import get_fake_workflow_path diff --git a/src/vibe_server/tests/test_workflow_state.py b/src/vibe_server/tests/test_workflow_state.py index 0f1816c5..393067d4 100644 --- a/src/vibe_server/tests/test_workflow_state.py +++ b/src/vibe_server/tests/test_workflow_state.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from collections import Counter from dataclasses import asdict from datetime import datetime diff --git a/src/vibe_server/vibe_server/__init__.py b/src/vibe_server/vibe_server/__init__.py index e69de29b..b7c52582 100644 --- a/src/vibe_server/vibe_server/__init__.py +++ b/src/vibe_server/vibe_server/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + diff --git a/src/vibe_server/vibe_server/href_handler.py b/src/vibe_server/vibe_server/href_handler.py index 5968dad0..bdc99c88 100644 --- a/src/vibe_server/vibe_server/href_handler.py +++ b/src/vibe_server/vibe_server/href_handler.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from pathlib import Path from typing import List, Optional, Union diff --git a/src/vibe_server/vibe_server/orchestrator.py b/src/vibe_server/vibe_server/orchestrator.py index c04fac33..8480a0b7 100755 --- a/src/vibe_server/vibe_server/orchestrator.py +++ b/src/vibe_server/vibe_server/orchestrator.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import asyncio import asyncio.queues import logging diff --git a/src/vibe_server/vibe_server/server.py b/src/vibe_server/vibe_server/server.py index dfae3d1b..75dbe2a5 100644 --- a/src/vibe_server/vibe_server/server.py +++ b/src/vibe_server/vibe_server/server.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import asyncio import logging import os diff --git a/src/vibe_server/vibe_server/sniffer.py b/src/vibe_server/vibe_server/sniffer.py index 3c78e97d..75d6d664 100644 --- a/src/vibe_server/vibe_server/sniffer.py +++ b/src/vibe_server/vibe_server/sniffer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import argparse import logging from typing import List diff --git a/src/vibe_server/vibe_server/workflow/__init__.py b/src/vibe_server/vibe_server/workflow/__init__.py index 9d4053ad..b2f600bf 100644 --- a/src/vibe_server/vibe_server/workflow/__init__.py +++ b/src/vibe_server/vibe_server/workflow/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import re from typing import Any, Dict, List, Union diff --git a/src/vibe_server/vibe_server/workflow/description_validator.py b/src/vibe_server/vibe_server/workflow/description_validator.py index 1d026655..bcff4b70 100644 --- a/src/vibe_server/vibe_server/workflow/description_validator.py +++ b/src/vibe_server/vibe_server/workflow/description_validator.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import Any, Dict, List, Tuple, Union from .parameter import ParameterResolver diff --git a/src/vibe_server/vibe_server/workflow/graph.py b/src/vibe_server/vibe_server/workflow/graph.py index 6b6f107b..1edd98da 100644 --- a/src/vibe_server/vibe_server/workflow/graph.py +++ b/src/vibe_server/vibe_server/workflow/graph.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from collections import defaultdict from enum import IntEnum diff --git a/src/vibe_server/vibe_server/workflow/input_handler.py b/src/vibe_server/vibe_server/workflow/input_handler.py index 0b52ca6b..6f5e2d3b 100644 --- a/src/vibe_server/vibe_server/workflow/input_handler.py +++ b/src/vibe_server/vibe_server/workflow/input_handler.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging from typing import ( Any, diff --git a/src/vibe_server/vibe_server/workflow/parameter.py b/src/vibe_server/vibe_server/workflow/parameter.py index 4ec98eef..7a0478d9 100644 --- a/src/vibe_server/vibe_server/workflow/parameter.py +++ b/src/vibe_server/vibe_server/workflow/parameter.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from collections import defaultdict from typing import Any, Dict, List, Optional, Tuple, Union, cast diff --git a/src/vibe_server/vibe_server/workflow/runner/__init__.py b/src/vibe_server/vibe_server/workflow/runner/__init__.py index 4bb598e2..44601725 100644 --- a/src/vibe_server/vibe_server/workflow/runner/__init__.py +++ b/src/vibe_server/vibe_server/workflow/runner/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from .remote_runner import RemoteWorkflowRunner from .runner import NoOpStateChange, WorkflowCallback, WorkflowChange, WorkflowRunner diff --git a/src/vibe_server/vibe_server/workflow/runner/remote_runner.py b/src/vibe_server/vibe_server/workflow/runner/remote_runner.py index 3240a673..51ee3efb 100644 --- a/src/vibe_server/vibe_server/workflow/runner/remote_runner.py +++ b/src/vibe_server/vibe_server/workflow/runner/remote_runner.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import asyncio import asyncio.queues import logging diff --git a/src/vibe_server/vibe_server/workflow/runner/runner.py b/src/vibe_server/vibe_server/workflow/runner/runner.py index 3d9dc949..9443cf2a 100644 --- a/src/vibe_server/vibe_server/workflow/runner/runner.py +++ b/src/vibe_server/vibe_server/workflow/runner/runner.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import asyncio import gc import logging diff --git a/src/vibe_server/vibe_server/workflow/runner/task_io_handler.py b/src/vibe_server/vibe_server/workflow/runner/task_io_handler.py index 3a82522c..de1a8a2a 100644 --- a/src/vibe_server/vibe_server/workflow/runner/task_io_handler.py +++ b/src/vibe_server/vibe_server/workflow/runner/task_io_handler.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from copy import copy from typing import Dict, List diff --git a/src/vibe_server/vibe_server/workflow/spec_parser.py b/src/vibe_server/vibe_server/workflow/spec_parser.py index 76015dc6..4cc634ac 100644 --- a/src/vibe_server/vibe_server/workflow/spec_parser.py +++ b/src/vibe_server/vibe_server/workflow/spec_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import re from copy import deepcopy diff --git a/src/vibe_server/vibe_server/workflow/spec_validator.py b/src/vibe_server/vibe_server/workflow/spec_validator.py index 3c0f5a95..d8a812f6 100644 --- a/src/vibe_server/vibe_server/workflow/spec_validator.py +++ b/src/vibe_server/vibe_server/workflow/spec_validator.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import warnings from typing import List diff --git a/src/vibe_server/vibe_server/workflow/workflow.py b/src/vibe_server/vibe_server/workflow/workflow.py index ba704aac..a4398b89 100644 --- a/src/vibe_server/vibe_server/workflow/workflow.py +++ b/src/vibe_server/vibe_server/workflow/workflow.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import os import re