From aa366528d1b72781a897a1b39d4154daabd6d1c8 Mon Sep 17 00:00:00 2001 From: Meni Yakove Date: Mon, 29 Jun 2026 12:08:40 +0300 Subject: [PATCH 1/2] chore: update generated code marker to class_generator path Update the generated code comment marker in all 132 ocp_resources files from scripts/resource/README.md to class_generator/README.md to align with the current class-generator tool location and .coderabbit.yaml skip instructions. --- ocp_resources/aaq.py | 2 +- ocp_resources/api_server.py | 2 +- ocp_resources/authentication_config_openshift_io.py | 2 +- ocp_resources/authentication_operator_openshift_io.py | 2 +- ocp_resources/authorino.py | 2 +- ocp_resources/bgp_session_state.py | 2 +- ocp_resources/cdi.py | 2 +- ocp_resources/cdi_config.py | 2 +- ocp_resources/cluster_resource_quota.py | 2 +- ocp_resources/cluster_user_defined_network.py | 2 +- ocp_resources/config_imageregistry_operator_openshift_io.py | 2 +- ocp_resources/config_map.py | 2 +- ocp_resources/config_operator_openshift_io.py | 2 +- ocp_resources/config_samples_operator_openshift_io.py | 2 +- ocp_resources/console_config_openshift_io.py | 2 +- ocp_resources/console_operator_openshift_io.py | 2 +- ocp_resources/conversion.py | 2 +- ocp_resources/csi_driver.py | 2 +- ocp_resources/data_import_cron.py | 2 +- ocp_resources/data_protection_application.py | 2 +- ocp_resources/data_science_cluster.py | 2 +- ocp_resources/data_science_pipelines_application.py | 2 +- ocp_resources/deployment.py | 2 +- ocp_resources/direct_volume_migration.py | 2 +- ocp_resources/direct_volume_migration_progress.py | 2 +- ocp_resources/dns_config_openshift_io.py | 2 +- ocp_resources/dns_operator_openshift_io.py | 2 +- ocp_resources/dsc_initialization.py | 2 +- ocp_resources/evalhub.py | 2 +- ocp_resources/frr_configuration.py | 2 +- ocp_resources/gateway_class.py | 2 +- ocp_resources/gateway_config.py | 2 +- ocp_resources/gateway_gateway_networking_k8s_io.py | 2 +- ocp_resources/gateway_networking_istio_io.py | 2 +- ocp_resources/group.py | 2 +- ocp_resources/guardrails_orchestrator.py | 2 +- ocp_resources/image_caching_internal_knative_dev.py | 2 +- ocp_resources/image_config_openshift_io.py | 2 +- ocp_resources/image_content_source_policy.py | 2 +- ocp_resources/image_image_openshift_io.py | 2 +- ocp_resources/inference_graph.py | 2 +- ocp_resources/ingress_config_openshift_io.py | 2 +- ocp_resources/ingress_networking_k8s_io.py | 2 +- ocp_resources/jaeger.py | 2 +- ocp_resources/kube_descheduler.py | 2 +- ocp_resources/kubelet_config.py | 2 +- ocp_resources/kubevirt.py | 2 +- ocp_resources/llama_stack_distribution.py | 2 +- ocp_resources/llm_inference_service.py | 2 +- ocp_resources/lm_eval_job.py | 2 +- ocp_resources/maa_s_auth_policy.py | 2 +- ocp_resources/maa_s_model.py | 2 +- ocp_resources/maa_s_subscription.py | 2 +- ocp_resources/maas_auth_policy.py | 2 +- ocp_resources/maas_model_ref.py | 2 +- ocp_resources/maas_subscription.py | 2 +- ocp_resources/machine.py | 2 +- ocp_resources/maria_db.py | 2 +- ocp_resources/mariadb_operator.py | 2 +- ocp_resources/mig_analytic.py | 2 +- ocp_resources/mig_cluster.py | 2 +- ocp_resources/mig_controller.py | 2 +- ocp_resources/mig_migration.py | 2 +- ocp_resources/mig_plan.py | 2 +- ocp_resources/mlflow.py | 2 +- ocp_resources/mlflow_config.py | 2 +- ocp_resources/model_registry.py | 2 +- .../model_registry_components_platform_opendatahub_io.py | 2 +- ocp_resources/model_registry_modelregistry_opendatahub_io.py | 2 +- ocp_resources/mtq.py | 2 +- .../multi_namespace_virtual_machine_storage_migration.py | 2 +- .../multi_namespace_virtual_machine_storage_migration_plan.py | 2 +- ocp_resources/namespace.py | 2 +- ocp_resources/nemo_guardrails.py | 2 +- ocp_resources/network_config_openshift_io.py | 2 +- ocp_resources/network_operator_openshift_io.py | 2 +- ocp_resources/network_policy.py | 2 +- ocp_resources/nm_state.py | 2 +- ocp_resources/node.py | 2 +- ocp_resources/node_config_openshift_io.py | 2 +- ocp_resources/node_network_configuration_policy_latest.py | 2 +- ocp_resources/notebook.py | 2 +- ocp_resources/oauth.py | 2 +- ocp_resources/open_telemetry_collector.py | 2 +- ocp_resources/operator.py | 2 +- ocp_resources/pipeline.py | 2 +- ocp_resources/pipeline_run.py | 2 +- ocp_resources/pod.py | 2 +- ocp_resources/pod_metrics.py | 2 +- ocp_resources/project_config_openshift_io.py | 2 +- ocp_resources/project_project_openshift_io.py | 2 +- ocp_resources/project_request.py | 2 +- ocp_resources/prometheus.py | 2 +- ocp_resources/rate_limit_policy.py | 2 +- ocp_resources/replica_set.py | 2 +- ocp_resources/route_advertisements.py | 2 +- ocp_resources/scaled_object.py | 2 +- ocp_resources/scheduler.py | 2 +- ocp_resources/securesign.py | 2 +- ocp_resources/security_context_constraints.py | 2 +- ocp_resources/self_subject_review.py | 2 +- ocp_resources/service.py | 2 +- ocp_resources/service_mesh_member.py | 2 +- ocp_resources/service_serving_knative_dev.py | 2 +- ocp_resources/serving_runtime.py | 2 +- ocp_resources/snapshot.py | 2 +- ocp_resources/ssp.py | 2 +- ocp_resources/storage_cluster.py | 2 +- ocp_resources/task.py | 2 +- ocp_resources/task_run.py | 2 +- ocp_resources/tempo_stack.py | 2 +- ocp_resources/token_rate_limit_policy.py | 2 +- ocp_resources/user.py | 2 +- ocp_resources/user_defined_network.py | 2 +- ocp_resources/validating_admission_policy.py | 2 +- ocp_resources/validating_admission_policy_binding.py | 2 +- ocp_resources/virtual_machine_cluster_instancetype.py | 2 +- ocp_resources/virtual_machine_cluster_preference.py | 2 +- ocp_resources/virtual_machine_export.py | 2 +- ocp_resources/virtual_machine_instance.py | 2 +- ocp_resources/virtual_machine_instance_migration.py | 2 +- ocp_resources/virtual_machine_instance_preset.py | 2 +- ocp_resources/virtual_machine_instance_replica_set.py | 2 +- ocp_resources/virtual_machine_instancetype.py | 2 +- ocp_resources/virtual_machine_preference.py | 2 +- ocp_resources/virtual_machine_storage_migration.py | 2 +- ocp_resources/virtual_machine_storage_migration_plan.py | 2 +- ocp_resources/virtual_machine_template.py | 2 +- ocp_resources/virtual_machine_template_request.py | 2 +- ocp_resources/volume_snapshot.py | 2 +- ocp_resources/volume_snapshot_class.py | 2 +- ocp_resources/vtep.py | 2 +- 132 files changed, 132 insertions(+), 132 deletions(-) diff --git a/ocp_resources/aaq.py b/ocp_resources/aaq.py index c4da6e8acb..8b9c8c6f07 100644 --- a/ocp_resources/aaq.py +++ b/ocp_resources/aaq.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/api_server.py b/ocp_resources/api_server.py index 2388035d7b..b0e19f2795 100644 --- a/ocp_resources/api_server.py +++ b/ocp_resources/api_server.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/authentication_config_openshift_io.py b/ocp_resources/authentication_config_openshift_io.py index ab39923b6c..ecf85097cb 100644 --- a/ocp_resources/authentication_config_openshift_io.py +++ b/ocp_resources/authentication_config_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/authentication_operator_openshift_io.py b/ocp_resources/authentication_operator_openshift_io.py index 4ad271c9ae..53fa7d8cee 100644 --- a/ocp_resources/authentication_operator_openshift_io.py +++ b/ocp_resources/authentication_operator_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/authorino.py b/ocp_resources/authorino.py index 6febc8f3d5..573284b9d1 100644 --- a/ocp_resources/authorino.py +++ b/ocp_resources/authorino.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/bgp_session_state.py b/ocp_resources/bgp_session_state.py index 6dc495b105..ac8376e3cc 100644 --- a/ocp_resources/bgp_session_state.py +++ b/ocp_resources/bgp_session_state.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/cdi.py b/ocp_resources/cdi.py index 2b1c28297b..b83ce1a228 100644 --- a/ocp_resources/cdi.py +++ b/ocp_resources/cdi.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/cdi_config.py b/ocp_resources/cdi_config.py index e227d0c710..dc54f10e82 100644 --- a/ocp_resources/cdi_config.py +++ b/ocp_resources/cdi_config.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/cluster_resource_quota.py b/ocp_resources/cluster_resource_quota.py index fc20595bea..9f1513f1a8 100644 --- a/ocp_resources/cluster_resource_quota.py +++ b/ocp_resources/cluster_resource_quota.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/cluster_user_defined_network.py b/ocp_resources/cluster_user_defined_network.py index 2b4af3cf23..5afbd5df28 100644 --- a/ocp_resources/cluster_user_defined_network.py +++ b/ocp_resources/cluster_user_defined_network.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/config_imageregistry_operator_openshift_io.py b/ocp_resources/config_imageregistry_operator_openshift_io.py index 442c3e2e35..9760392333 100644 --- a/ocp_resources/config_imageregistry_operator_openshift_io.py +++ b/ocp_resources/config_imageregistry_operator_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/config_map.py b/ocp_resources/config_map.py index dc1bd9ef0a..cc49a8299c 100644 --- a/ocp_resources/config_map.py +++ b/ocp_resources/config_map.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/config_operator_openshift_io.py b/ocp_resources/config_operator_openshift_io.py index c30e143076..49290e377f 100644 --- a/ocp_resources/config_operator_openshift_io.py +++ b/ocp_resources/config_operator_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/config_samples_operator_openshift_io.py b/ocp_resources/config_samples_operator_openshift_io.py index f378985587..3672ba926c 100644 --- a/ocp_resources/config_samples_operator_openshift_io.py +++ b/ocp_resources/config_samples_operator_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/console_config_openshift_io.py b/ocp_resources/console_config_openshift_io.py index de274f26ce..17a93f1b1a 100644 --- a/ocp_resources/console_config_openshift_io.py +++ b/ocp_resources/console_config_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/console_operator_openshift_io.py b/ocp_resources/console_operator_openshift_io.py index 3bee94696d..d3eb4d5759 100644 --- a/ocp_resources/console_operator_openshift_io.py +++ b/ocp_resources/console_operator_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/conversion.py b/ocp_resources/conversion.py index d81cd11b7a..7e5d58acda 100644 --- a/ocp_resources/conversion.py +++ b/ocp_resources/conversion.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/csi_driver.py b/ocp_resources/csi_driver.py index ace07f8a7b..4b911deeef 100644 --- a/ocp_resources/csi_driver.py +++ b/ocp_resources/csi_driver.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/data_import_cron.py b/ocp_resources/data_import_cron.py index 7a29828408..28054a88ba 100644 --- a/ocp_resources/data_import_cron.py +++ b/ocp_resources/data_import_cron.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/data_protection_application.py b/ocp_resources/data_protection_application.py index 07ca4575e2..f432babbb4 100644 --- a/ocp_resources/data_protection_application.py +++ b/ocp_resources/data_protection_application.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/data_science_cluster.py b/ocp_resources/data_science_cluster.py index 7676868960..f0ee124e8b 100644 --- a/ocp_resources/data_science_cluster.py +++ b/ocp_resources/data_science_cluster.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/data_science_pipelines_application.py b/ocp_resources/data_science_pipelines_application.py index 2a9e05790e..d21be7f467 100644 --- a/ocp_resources/data_science_pipelines_application.py +++ b/ocp_resources/data_science_pipelines_application.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/deployment.py b/ocp_resources/deployment.py index 1f9c847422..51e9a3b9bb 100644 --- a/ocp_resources/deployment.py +++ b/ocp_resources/deployment.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/direct_volume_migration.py b/ocp_resources/direct_volume_migration.py index 01bbb10c4b..5215911cc0 100644 --- a/ocp_resources/direct_volume_migration.py +++ b/ocp_resources/direct_volume_migration.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/direct_volume_migration_progress.py b/ocp_resources/direct_volume_migration_progress.py index 19705ced2b..70c824bca1 100644 --- a/ocp_resources/direct_volume_migration_progress.py +++ b/ocp_resources/direct_volume_migration_progress.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/dns_config_openshift_io.py b/ocp_resources/dns_config_openshift_io.py index 2c70388422..d1d5302a82 100644 --- a/ocp_resources/dns_config_openshift_io.py +++ b/ocp_resources/dns_config_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/dns_operator_openshift_io.py b/ocp_resources/dns_operator_openshift_io.py index 556e339f46..3545a8e7c4 100644 --- a/ocp_resources/dns_operator_openshift_io.py +++ b/ocp_resources/dns_operator_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/dsc_initialization.py b/ocp_resources/dsc_initialization.py index 106fcf449f..6b34bed218 100644 --- a/ocp_resources/dsc_initialization.py +++ b/ocp_resources/dsc_initialization.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/evalhub.py b/ocp_resources/evalhub.py index aeaf5293ba..9381224851 100644 --- a/ocp_resources/evalhub.py +++ b/ocp_resources/evalhub.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/frr_configuration.py b/ocp_resources/frr_configuration.py index 66d0865088..285b7fca8d 100644 --- a/ocp_resources/frr_configuration.py +++ b/ocp_resources/frr_configuration.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/gateway_class.py b/ocp_resources/gateway_class.py index d4a9da1468..9aab8488eb 100644 --- a/ocp_resources/gateway_class.py +++ b/ocp_resources/gateway_class.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/gateway_config.py b/ocp_resources/gateway_config.py index 8a55af1ed0..dc279cae4a 100644 --- a/ocp_resources/gateway_config.py +++ b/ocp_resources/gateway_config.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/gateway_gateway_networking_k8s_io.py b/ocp_resources/gateway_gateway_networking_k8s_io.py index a913b86af4..96dd00e789 100644 --- a/ocp_resources/gateway_gateway_networking_k8s_io.py +++ b/ocp_resources/gateway_gateway_networking_k8s_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/gateway_networking_istio_io.py b/ocp_resources/gateway_networking_istio_io.py index a0c2886a81..333775ea70 100644 --- a/ocp_resources/gateway_networking_istio_io.py +++ b/ocp_resources/gateway_networking_istio_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/group.py b/ocp_resources/group.py index 034d541ce2..618a4a35bf 100644 --- a/ocp_resources/group.py +++ b/ocp_resources/group.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/guardrails_orchestrator.py b/ocp_resources/guardrails_orchestrator.py index 0a5e25b942..6eacc18706 100644 --- a/ocp_resources/guardrails_orchestrator.py +++ b/ocp_resources/guardrails_orchestrator.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/image_caching_internal_knative_dev.py b/ocp_resources/image_caching_internal_knative_dev.py index 7ac121fa08..f8b9cba067 100644 --- a/ocp_resources/image_caching_internal_knative_dev.py +++ b/ocp_resources/image_caching_internal_knative_dev.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/image_config_openshift_io.py b/ocp_resources/image_config_openshift_io.py index fde238dc4e..93e6ce7bd3 100644 --- a/ocp_resources/image_config_openshift_io.py +++ b/ocp_resources/image_config_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/image_content_source_policy.py b/ocp_resources/image_content_source_policy.py index 0f2f1e11d8..aa74bb4712 100644 --- a/ocp_resources/image_content_source_policy.py +++ b/ocp_resources/image_content_source_policy.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/image_image_openshift_io.py b/ocp_resources/image_image_openshift_io.py index 17bf5b963c..1be6a7998d 100644 --- a/ocp_resources/image_image_openshift_io.py +++ b/ocp_resources/image_image_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/inference_graph.py b/ocp_resources/inference_graph.py index 88fe4ee98f..44c435eb7a 100644 --- a/ocp_resources/inference_graph.py +++ b/ocp_resources/inference_graph.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/ingress_config_openshift_io.py b/ocp_resources/ingress_config_openshift_io.py index 1268369e28..8ed32527b4 100644 --- a/ocp_resources/ingress_config_openshift_io.py +++ b/ocp_resources/ingress_config_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/ingress_networking_k8s_io.py b/ocp_resources/ingress_networking_k8s_io.py index e55f07d138..0ef639f994 100644 --- a/ocp_resources/ingress_networking_k8s_io.py +++ b/ocp_resources/ingress_networking_k8s_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/jaeger.py b/ocp_resources/jaeger.py index 32fd81898f..d3050346a8 100644 --- a/ocp_resources/jaeger.py +++ b/ocp_resources/jaeger.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/kube_descheduler.py b/ocp_resources/kube_descheduler.py index 9973318e6f..2917f9e293 100644 --- a/ocp_resources/kube_descheduler.py +++ b/ocp_resources/kube_descheduler.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/kubelet_config.py b/ocp_resources/kubelet_config.py index f302b4b130..d39e916a03 100644 --- a/ocp_resources/kubelet_config.py +++ b/ocp_resources/kubelet_config.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/kubevirt.py b/ocp_resources/kubevirt.py index 3a16d936ca..3ac73b0786 100644 --- a/ocp_resources/kubevirt.py +++ b/ocp_resources/kubevirt.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/llama_stack_distribution.py b/ocp_resources/llama_stack_distribution.py index c1a8b1128d..48a32518bf 100644 --- a/ocp_resources/llama_stack_distribution.py +++ b/ocp_resources/llama_stack_distribution.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/llm_inference_service.py b/ocp_resources/llm_inference_service.py index bb420c6f07..48eb2a784f 100644 --- a/ocp_resources/llm_inference_service.py +++ b/ocp_resources/llm_inference_service.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/lm_eval_job.py b/ocp_resources/lm_eval_job.py index a59865c32c..5b313576d2 100644 --- a/ocp_resources/lm_eval_job.py +++ b/ocp_resources/lm_eval_job.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/maa_s_auth_policy.py b/ocp_resources/maa_s_auth_policy.py index 5b9c49e8e6..967053a22c 100644 --- a/ocp_resources/maa_s_auth_policy.py +++ b/ocp_resources/maa_s_auth_policy.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/maa_s_model.py b/ocp_resources/maa_s_model.py index a6a2943500..6095e6b15e 100644 --- a/ocp_resources/maa_s_model.py +++ b/ocp_resources/maa_s_model.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/maa_s_subscription.py b/ocp_resources/maa_s_subscription.py index ba648d8bc7..4b961322d2 100644 --- a/ocp_resources/maa_s_subscription.py +++ b/ocp_resources/maa_s_subscription.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/maas_auth_policy.py b/ocp_resources/maas_auth_policy.py index 6b2e505778..381d885c27 100644 --- a/ocp_resources/maas_auth_policy.py +++ b/ocp_resources/maas_auth_policy.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/maas_model_ref.py b/ocp_resources/maas_model_ref.py index 7a6f953a49..bf6c534098 100644 --- a/ocp_resources/maas_model_ref.py +++ b/ocp_resources/maas_model_ref.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/maas_subscription.py b/ocp_resources/maas_subscription.py index d7ebf8a4da..0f3b21591a 100644 --- a/ocp_resources/maas_subscription.py +++ b/ocp_resources/maas_subscription.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/machine.py b/ocp_resources/machine.py index a69e441457..a96ef5bf1a 100644 --- a/ocp_resources/machine.py +++ b/ocp_resources/machine.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/maria_db.py b/ocp_resources/maria_db.py index 2b9b50921f..b59ab30aac 100644 --- a/ocp_resources/maria_db.py +++ b/ocp_resources/maria_db.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/mariadb_operator.py b/ocp_resources/mariadb_operator.py index 520124b8b9..27950ba0a5 100644 --- a/ocp_resources/mariadb_operator.py +++ b/ocp_resources/mariadb_operator.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/mig_analytic.py b/ocp_resources/mig_analytic.py index ab15f3bead..7aa514d7aa 100644 --- a/ocp_resources/mig_analytic.py +++ b/ocp_resources/mig_analytic.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/mig_cluster.py b/ocp_resources/mig_cluster.py index 5fb2bf7d6c..ff8b0fb200 100644 --- a/ocp_resources/mig_cluster.py +++ b/ocp_resources/mig_cluster.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/mig_controller.py b/ocp_resources/mig_controller.py index 0f10d319b5..be056529de 100644 --- a/ocp_resources/mig_controller.py +++ b/ocp_resources/mig_controller.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/mig_migration.py b/ocp_resources/mig_migration.py index 0f326b3ee7..36b7fe7c26 100644 --- a/ocp_resources/mig_migration.py +++ b/ocp_resources/mig_migration.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/mig_plan.py b/ocp_resources/mig_plan.py index 53ae56c151..edf6a69986 100644 --- a/ocp_resources/mig_plan.py +++ b/ocp_resources/mig_plan.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/mlflow.py b/ocp_resources/mlflow.py index b2a99a6ebd..3e1ac22ebc 100644 --- a/ocp_resources/mlflow.py +++ b/ocp_resources/mlflow.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/mlflow_config.py b/ocp_resources/mlflow_config.py index f21b855221..092452cd5d 100644 --- a/ocp_resources/mlflow_config.py +++ b/ocp_resources/mlflow_config.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/model_registry.py b/ocp_resources/model_registry.py index ccd3f8aa8e..6afbaa8a9d 100644 --- a/ocp_resources/model_registry.py +++ b/ocp_resources/model_registry.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any from warnings import warn diff --git a/ocp_resources/model_registry_components_platform_opendatahub_io.py b/ocp_resources/model_registry_components_platform_opendatahub_io.py index 69dd1a7cef..8533f8a308 100644 --- a/ocp_resources/model_registry_components_platform_opendatahub_io.py +++ b/ocp_resources/model_registry_components_platform_opendatahub_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/model_registry_modelregistry_opendatahub_io.py b/ocp_resources/model_registry_modelregistry_opendatahub_io.py index f02102de62..328ff18370 100644 --- a/ocp_resources/model_registry_modelregistry_opendatahub_io.py +++ b/ocp_resources/model_registry_modelregistry_opendatahub_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/mtq.py b/ocp_resources/mtq.py index 5d816acde1..25e01d27cd 100644 --- a/ocp_resources/mtq.py +++ b/ocp_resources/mtq.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/multi_namespace_virtual_machine_storage_migration.py b/ocp_resources/multi_namespace_virtual_machine_storage_migration.py index 4902f26e40..9b121b0cf2 100644 --- a/ocp_resources/multi_namespace_virtual_machine_storage_migration.py +++ b/ocp_resources/multi_namespace_virtual_machine_storage_migration.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/multi_namespace_virtual_machine_storage_migration_plan.py b/ocp_resources/multi_namespace_virtual_machine_storage_migration_plan.py index b9bcce7d15..fad49706b7 100644 --- a/ocp_resources/multi_namespace_virtual_machine_storage_migration_plan.py +++ b/ocp_resources/multi_namespace_virtual_machine_storage_migration_plan.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/namespace.py b/ocp_resources/namespace.py index 29aca8c1f2..a258579923 100644 --- a/ocp_resources/namespace.py +++ b/ocp_resources/namespace.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/nemo_guardrails.py b/ocp_resources/nemo_guardrails.py index 4a08ccdce2..a209a8ce6e 100644 --- a/ocp_resources/nemo_guardrails.py +++ b/ocp_resources/nemo_guardrails.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/network_config_openshift_io.py b/ocp_resources/network_config_openshift_io.py index 1be4b0badc..6b5d4dfcf5 100644 --- a/ocp_resources/network_config_openshift_io.py +++ b/ocp_resources/network_config_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/network_operator_openshift_io.py b/ocp_resources/network_operator_openshift_io.py index 6f3ca2adf2..ff58f07e9e 100644 --- a/ocp_resources/network_operator_openshift_io.py +++ b/ocp_resources/network_operator_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/network_policy.py b/ocp_resources/network_policy.py index 0d3ae3605b..77797ee9b8 100644 --- a/ocp_resources/network_policy.py +++ b/ocp_resources/network_policy.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/nm_state.py b/ocp_resources/nm_state.py index 05d476bf8c..70ccaa5717 100644 --- a/ocp_resources/nm_state.py +++ b/ocp_resources/nm_state.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/node.py b/ocp_resources/node.py index 8ea63eedb3..9da9e7fbe4 100644 --- a/ocp_resources/node.py +++ b/ocp_resources/node.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/node_config_openshift_io.py b/ocp_resources/node_config_openshift_io.py index 019112fdd7..d077e868c3 100644 --- a/ocp_resources/node_config_openshift_io.py +++ b/ocp_resources/node_config_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/node_network_configuration_policy_latest.py b/ocp_resources/node_network_configuration_policy_latest.py index dc96d2be6d..9cc9e02406 100644 --- a/ocp_resources/node_network_configuration_policy_latest.py +++ b/ocp_resources/node_network_configuration_policy_latest.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/notebook.py b/ocp_resources/notebook.py index e3cc2be244..8949053cdf 100644 --- a/ocp_resources/notebook.py +++ b/ocp_resources/notebook.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/oauth.py b/ocp_resources/oauth.py index 391ebb2bf5..f4e3cba249 100644 --- a/ocp_resources/oauth.py +++ b/ocp_resources/oauth.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/open_telemetry_collector.py b/ocp_resources/open_telemetry_collector.py index d294cb143d..1d1493a664 100644 --- a/ocp_resources/open_telemetry_collector.py +++ b/ocp_resources/open_telemetry_collector.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/operator.py b/ocp_resources/operator.py index 372be8342a..70193b76eb 100644 --- a/ocp_resources/operator.py +++ b/ocp_resources/operator.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/pipeline.py b/ocp_resources/pipeline.py index 980a54b480..67db27edca 100644 --- a/ocp_resources/pipeline.py +++ b/ocp_resources/pipeline.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/pipeline_run.py b/ocp_resources/pipeline_run.py index 1d3a70ebdb..3bf0410f8e 100644 --- a/ocp_resources/pipeline_run.py +++ b/ocp_resources/pipeline_run.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/pod.py b/ocp_resources/pod.py index d76c860327..9d78cd7622 100644 --- a/ocp_resources/pod.py +++ b/ocp_resources/pod.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md import json from typing import Any diff --git a/ocp_resources/pod_metrics.py b/ocp_resources/pod_metrics.py index 8c0458d72a..a6f913bc2f 100644 --- a/ocp_resources/pod_metrics.py +++ b/ocp_resources/pod_metrics.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/project_config_openshift_io.py b/ocp_resources/project_config_openshift_io.py index 628ef0f160..50d127b633 100644 --- a/ocp_resources/project_config_openshift_io.py +++ b/ocp_resources/project_config_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/project_project_openshift_io.py b/ocp_resources/project_project_openshift_io.py index 95b954df79..43c76d1696 100644 --- a/ocp_resources/project_project_openshift_io.py +++ b/ocp_resources/project_project_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/project_request.py b/ocp_resources/project_request.py index 6ba0e39858..8eb2d5b752 100644 --- a/ocp_resources/project_request.py +++ b/ocp_resources/project_request.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/prometheus.py b/ocp_resources/prometheus.py index b37f06c667..e1ae0a1232 100644 --- a/ocp_resources/prometheus.py +++ b/ocp_resources/prometheus.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/rate_limit_policy.py b/ocp_resources/rate_limit_policy.py index 89a807b20d..1057413def 100644 --- a/ocp_resources/rate_limit_policy.py +++ b/ocp_resources/rate_limit_policy.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/replica_set.py b/ocp_resources/replica_set.py index 767a9767fc..ccbf0aefab 100644 --- a/ocp_resources/replica_set.py +++ b/ocp_resources/replica_set.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/route_advertisements.py b/ocp_resources/route_advertisements.py index b98b7facc0..6f91d38d88 100644 --- a/ocp_resources/route_advertisements.py +++ b/ocp_resources/route_advertisements.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/scaled_object.py b/ocp_resources/scaled_object.py index 4f8a0ca0f3..223363e231 100644 --- a/ocp_resources/scaled_object.py +++ b/ocp_resources/scaled_object.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/scheduler.py b/ocp_resources/scheduler.py index 390af6f414..39bd6e939e 100644 --- a/ocp_resources/scheduler.py +++ b/ocp_resources/scheduler.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/securesign.py b/ocp_resources/securesign.py index c958645f47..01ad6fe07a 100644 --- a/ocp_resources/securesign.py +++ b/ocp_resources/securesign.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/security_context_constraints.py b/ocp_resources/security_context_constraints.py index 9f1f247ff1..d963e8a30f 100644 --- a/ocp_resources/security_context_constraints.py +++ b/ocp_resources/security_context_constraints.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/self_subject_review.py b/ocp_resources/self_subject_review.py index 46433fcbb1..53af41977a 100644 --- a/ocp_resources/self_subject_review.py +++ b/ocp_resources/self_subject_review.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/service.py b/ocp_resources/service.py index 094d3d3afa..49badca678 100644 --- a/ocp_resources/service.py +++ b/ocp_resources/service.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/service_mesh_member.py b/ocp_resources/service_mesh_member.py index bc706bfb37..d0309bfccb 100644 --- a/ocp_resources/service_mesh_member.py +++ b/ocp_resources/service_mesh_member.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/service_serving_knative_dev.py b/ocp_resources/service_serving_knative_dev.py index 4d9fa8fe82..4383c1d2cf 100644 --- a/ocp_resources/service_serving_knative_dev.py +++ b/ocp_resources/service_serving_knative_dev.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/serving_runtime.py b/ocp_resources/serving_runtime.py index 9652c4bd0d..e1546bb4e5 100644 --- a/ocp_resources/serving_runtime.py +++ b/ocp_resources/serving_runtime.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/snapshot.py b/ocp_resources/snapshot.py index ef9327aec6..a7149d9bef 100644 --- a/ocp_resources/snapshot.py +++ b/ocp_resources/snapshot.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/ssp.py b/ocp_resources/ssp.py index 10d154c067..cfcb1bde22 100644 --- a/ocp_resources/ssp.py +++ b/ocp_resources/ssp.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/storage_cluster.py b/ocp_resources/storage_cluster.py index 74d3847102..101ed3c9c3 100644 --- a/ocp_resources/storage_cluster.py +++ b/ocp_resources/storage_cluster.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/task.py b/ocp_resources/task.py index c824311d62..db915fad3d 100644 --- a/ocp_resources/task.py +++ b/ocp_resources/task.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/task_run.py b/ocp_resources/task_run.py index a98f4df1d1..7bcd658c56 100644 --- a/ocp_resources/task_run.py +++ b/ocp_resources/task_run.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/tempo_stack.py b/ocp_resources/tempo_stack.py index 2daeab64ce..24b0279aef 100644 --- a/ocp_resources/tempo_stack.py +++ b/ocp_resources/tempo_stack.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/token_rate_limit_policy.py b/ocp_resources/token_rate_limit_policy.py index 1d9e3cea27..b2437ccdd4 100644 --- a/ocp_resources/token_rate_limit_policy.py +++ b/ocp_resources/token_rate_limit_policy.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/user.py b/ocp_resources/user.py index b1c0c8e8ff..fd60bcdd10 100644 --- a/ocp_resources/user.py +++ b/ocp_resources/user.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/user_defined_network.py b/ocp_resources/user_defined_network.py index 5d8e2e9d98..26b06c5bab 100644 --- a/ocp_resources/user_defined_network.py +++ b/ocp_resources/user_defined_network.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any from warnings import warn diff --git a/ocp_resources/validating_admission_policy.py b/ocp_resources/validating_admission_policy.py index 90666771a8..49c4e97c18 100644 --- a/ocp_resources/validating_admission_policy.py +++ b/ocp_resources/validating_admission_policy.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/validating_admission_policy_binding.py b/ocp_resources/validating_admission_policy_binding.py index 235857d59d..acca1aba39 100644 --- a/ocp_resources/validating_admission_policy_binding.py +++ b/ocp_resources/validating_admission_policy_binding.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/virtual_machine_cluster_instancetype.py b/ocp_resources/virtual_machine_cluster_instancetype.py index ea73cbd8fd..be9e015bcc 100644 --- a/ocp_resources/virtual_machine_cluster_instancetype.py +++ b/ocp_resources/virtual_machine_cluster_instancetype.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/virtual_machine_cluster_preference.py b/ocp_resources/virtual_machine_cluster_preference.py index 1e9837301f..34a9b605e6 100644 --- a/ocp_resources/virtual_machine_cluster_preference.py +++ b/ocp_resources/virtual_machine_cluster_preference.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/virtual_machine_export.py b/ocp_resources/virtual_machine_export.py index 5ee71fc6b4..0c37638a68 100644 --- a/ocp_resources/virtual_machine_export.py +++ b/ocp_resources/virtual_machine_export.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/virtual_machine_instance.py b/ocp_resources/virtual_machine_instance.py index bc9555e50a..9ef0f1a44f 100644 --- a/ocp_resources/virtual_machine_instance.py +++ b/ocp_resources/virtual_machine_instance.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md import shlex diff --git a/ocp_resources/virtual_machine_instance_migration.py b/ocp_resources/virtual_machine_instance_migration.py index 5add9ea230..ef5980750e 100644 --- a/ocp_resources/virtual_machine_instance_migration.py +++ b/ocp_resources/virtual_machine_instance_migration.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/virtual_machine_instance_preset.py b/ocp_resources/virtual_machine_instance_preset.py index b6f01a09ee..8762475107 100644 --- a/ocp_resources/virtual_machine_instance_preset.py +++ b/ocp_resources/virtual_machine_instance_preset.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/virtual_machine_instance_replica_set.py b/ocp_resources/virtual_machine_instance_replica_set.py index 856b7bc6bb..8e4ee69d3e 100644 --- a/ocp_resources/virtual_machine_instance_replica_set.py +++ b/ocp_resources/virtual_machine_instance_replica_set.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/virtual_machine_instancetype.py b/ocp_resources/virtual_machine_instancetype.py index 08204b1a3c..9e0696baa8 100644 --- a/ocp_resources/virtual_machine_instancetype.py +++ b/ocp_resources/virtual_machine_instancetype.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/virtual_machine_preference.py b/ocp_resources/virtual_machine_preference.py index c3908643de..56d76f353a 100644 --- a/ocp_resources/virtual_machine_preference.py +++ b/ocp_resources/virtual_machine_preference.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/virtual_machine_storage_migration.py b/ocp_resources/virtual_machine_storage_migration.py index b118b61a29..838791c755 100644 --- a/ocp_resources/virtual_machine_storage_migration.py +++ b/ocp_resources/virtual_machine_storage_migration.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/virtual_machine_storage_migration_plan.py b/ocp_resources/virtual_machine_storage_migration_plan.py index 11c928b024..5a354bf0fb 100644 --- a/ocp_resources/virtual_machine_storage_migration_plan.py +++ b/ocp_resources/virtual_machine_storage_migration_plan.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/virtual_machine_template.py b/ocp_resources/virtual_machine_template.py index 09f61ed066..14078dbb7b 100644 --- a/ocp_resources/virtual_machine_template.py +++ b/ocp_resources/virtual_machine_template.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/virtual_machine_template_request.py b/ocp_resources/virtual_machine_template_request.py index d99230fbe0..5234dd213d 100644 --- a/ocp_resources/virtual_machine_template_request.py +++ b/ocp_resources/virtual_machine_template_request.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/volume_snapshot.py b/ocp_resources/volume_snapshot.py index ceee9a9d61..201e8568f0 100644 --- a/ocp_resources/volume_snapshot.py +++ b/ocp_resources/volume_snapshot.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/volume_snapshot_class.py b/ocp_resources/volume_snapshot_class.py index 90fa59dd6d..fc60f2b6c2 100644 --- a/ocp_resources/volume_snapshot_class.py +++ b/ocp_resources/volume_snapshot_class.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/ocp_resources/vtep.py b/ocp_resources/vtep.py index 8d7c8a4400..f0cf96beec 100644 --- a/ocp_resources/vtep.py +++ b/ocp_resources/vtep.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any From c1ced2f837e7889933c93df7784c22b8b9a80bb7 Mon Sep 17 00:00:00 2001 From: Meni Yakove Date: Mon, 29 Jun 2026 12:30:21 +0300 Subject: [PATCH 2/2] chore: update generated code marker in class_generator and tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update scripts/resource/README.md → class_generator/README.md in all remaining places: generator output, resource scanner, validator, test fixtures, and test manifests. This ensures the marker is consistent across the entire codebase and the class-generator toolchain. --- class_generator/core/generator.py | 4 +++- .../tests/manifests/APIServer/api_server.py | 2 +- .../manifests/ClusterOperator/cluster_operator.py | 2 +- .../tests/manifests/ConfigMap/config_map.py | 2 +- .../tests/manifests/DNS/dns_config_openshift_io.py | 2 +- .../manifests/DNS/dns_operator_openshift_io.py | 2 +- .../tests/manifests/Deployment/deployment.py | 2 +- .../image_content_source_policy.py | 2 +- .../Ingress/ingress_config_openshift_io.py | 2 +- .../manifests/Ingress/ingress_networking_k8s_io.py | 2 +- class_generator/tests/manifests/Machine/machine.py | 2 +- .../tests/manifests/NMState/nm_state.py | 2 +- class_generator/tests/manifests/OAuth/oauth.py | 2 +- .../tests/manifests/Pipeline/pipeline.py | 2 +- class_generator/tests/manifests/Pod/pod.py | 2 +- .../RouteAdvertisements/route_advertisements.py | 2 +- class_generator/tests/manifests/Secret/secret.py | 2 +- .../ServiceMeshMember/service_mesh_member.py | 2 +- .../manifests/ServingRuntime/serving_runtime.py | 2 +- .../tests/manifests/test_parse_explain.j2 | 2 +- class_generator/tests/test_batch_regeneration.py | 6 +++--- class_generator/tests/test_class_generator.py | 2 +- class_generator/tests/test_user_code_parser.py | 12 ++++++------ class_generator/tests/test_utils.py | 14 +++++++------- class_generator/utils.py | 2 +- tests/scripts/validate_resources.py | 2 +- 26 files changed, 41 insertions(+), 39 deletions(-) diff --git a/class_generator/core/generator.py b/class_generator/core/generator.py index a4344a6ea9..98569a57b2 100644 --- a/class_generator/core/generator.py +++ b/class_generator/core/generator.py @@ -54,7 +54,9 @@ def generate_resource_file_from_dict( template_name="class_generator_template.j2", ) - output = "# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md\n\n" + output = ( + "# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md\n\n" + ) formatted_kind_str = convert_camel_case_to_snake_case(name=resource_dict["kind"]) if re.search(r"_[a-z]_", formatted_kind_str): diff --git a/class_generator/tests/manifests/APIServer/api_server.py b/class_generator/tests/manifests/APIServer/api_server.py index 4eaee12b7b..8bf3ba7599 100644 --- a/class_generator/tests/manifests/APIServer/api_server.py +++ b/class_generator/tests/manifests/APIServer/api_server.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/ClusterOperator/cluster_operator.py b/class_generator/tests/manifests/ClusterOperator/cluster_operator.py index 7e4c0c0655..c9dede66fd 100644 --- a/class_generator/tests/manifests/ClusterOperator/cluster_operator.py +++ b/class_generator/tests/manifests/ClusterOperator/cluster_operator.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/ConfigMap/config_map.py b/class_generator/tests/manifests/ConfigMap/config_map.py index 10ef762f9b..03867e1b00 100644 --- a/class_generator/tests/manifests/ConfigMap/config_map.py +++ b/class_generator/tests/manifests/ConfigMap/config_map.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/DNS/dns_config_openshift_io.py b/class_generator/tests/manifests/DNS/dns_config_openshift_io.py index d014dbd5e4..e81e502ceb 100644 --- a/class_generator/tests/manifests/DNS/dns_config_openshift_io.py +++ b/class_generator/tests/manifests/DNS/dns_config_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/DNS/dns_operator_openshift_io.py b/class_generator/tests/manifests/DNS/dns_operator_openshift_io.py index be8c7792c7..77cb150ee3 100644 --- a/class_generator/tests/manifests/DNS/dns_operator_openshift_io.py +++ b/class_generator/tests/manifests/DNS/dns_operator_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/Deployment/deployment.py b/class_generator/tests/manifests/Deployment/deployment.py index 6f673c9760..8ac243faed 100644 --- a/class_generator/tests/manifests/Deployment/deployment.py +++ b/class_generator/tests/manifests/Deployment/deployment.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/ImageContentSourcePolicy/image_content_source_policy.py b/class_generator/tests/manifests/ImageContentSourcePolicy/image_content_source_policy.py index a7beca06a2..0f330a6bfc 100644 --- a/class_generator/tests/manifests/ImageContentSourcePolicy/image_content_source_policy.py +++ b/class_generator/tests/manifests/ImageContentSourcePolicy/image_content_source_policy.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/Ingress/ingress_config_openshift_io.py b/class_generator/tests/manifests/Ingress/ingress_config_openshift_io.py index 1268369e28..8ed32527b4 100644 --- a/class_generator/tests/manifests/Ingress/ingress_config_openshift_io.py +++ b/class_generator/tests/manifests/Ingress/ingress_config_openshift_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/Ingress/ingress_networking_k8s_io.py b/class_generator/tests/manifests/Ingress/ingress_networking_k8s_io.py index e55f07d138..0ef639f994 100644 --- a/class_generator/tests/manifests/Ingress/ingress_networking_k8s_io.py +++ b/class_generator/tests/manifests/Ingress/ingress_networking_k8s_io.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/Machine/machine.py b/class_generator/tests/manifests/Machine/machine.py index 831c97a4f6..095a44d63c 100644 --- a/class_generator/tests/manifests/Machine/machine.py +++ b/class_generator/tests/manifests/Machine/machine.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/NMState/nm_state.py b/class_generator/tests/manifests/NMState/nm_state.py index 4dfb1d4215..3fdd37e2c6 100644 --- a/class_generator/tests/manifests/NMState/nm_state.py +++ b/class_generator/tests/manifests/NMState/nm_state.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/OAuth/oauth.py b/class_generator/tests/manifests/OAuth/oauth.py index 484169c3cb..bf00472784 100644 --- a/class_generator/tests/manifests/OAuth/oauth.py +++ b/class_generator/tests/manifests/OAuth/oauth.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/Pipeline/pipeline.py b/class_generator/tests/manifests/Pipeline/pipeline.py index 5d6988b348..f1d0b8072a 100644 --- a/class_generator/tests/manifests/Pipeline/pipeline.py +++ b/class_generator/tests/manifests/Pipeline/pipeline.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/Pod/pod.py b/class_generator/tests/manifests/Pod/pod.py index fd4bf874a0..d5fe8adb05 100644 --- a/class_generator/tests/manifests/Pod/pod.py +++ b/class_generator/tests/manifests/Pod/pod.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/RouteAdvertisements/route_advertisements.py b/class_generator/tests/manifests/RouteAdvertisements/route_advertisements.py index d28e296ca2..ff9fb7d391 100644 --- a/class_generator/tests/manifests/RouteAdvertisements/route_advertisements.py +++ b/class_generator/tests/manifests/RouteAdvertisements/route_advertisements.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/Secret/secret.py b/class_generator/tests/manifests/Secret/secret.py index 362c40bb12..70991eace0 100644 --- a/class_generator/tests/manifests/Secret/secret.py +++ b/class_generator/tests/manifests/Secret/secret.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/ServiceMeshMember/service_mesh_member.py b/class_generator/tests/manifests/ServiceMeshMember/service_mesh_member.py index 9962cef635..928051ada0 100644 --- a/class_generator/tests/manifests/ServiceMeshMember/service_mesh_member.py +++ b/class_generator/tests/manifests/ServiceMeshMember/service_mesh_member.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/ServingRuntime/serving_runtime.py b/class_generator/tests/manifests/ServingRuntime/serving_runtime.py index c45eaba0fe..1cd0d0ca8b 100644 --- a/class_generator/tests/manifests/ServingRuntime/serving_runtime.py +++ b/class_generator/tests/manifests/ServingRuntime/serving_runtime.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any diff --git a/class_generator/tests/manifests/test_parse_explain.j2 b/class_generator/tests/manifests/test_parse_explain.j2 index 0bc29aa8ff..63d7cd9529 100644 --- a/class_generator/tests/manifests/test_parse_explain.j2 +++ b/class_generator/tests/manifests/test_parse_explain.j2 @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md#adding-tests +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md#adding-tests import filecmp import traceback diff --git a/class_generator/tests/test_batch_regeneration.py b/class_generator/tests/test_batch_regeneration.py index 76bacee1ce..810edace32 100644 --- a/class_generator/tests/test_batch_regeneration.py +++ b/class_generator/tests/test_batch_regeneration.py @@ -28,7 +28,7 @@ def temp_resources_dir(self): def create_generated_file(self, path: Path, class_name: str, with_user_code: bool = False) -> None: """Helper to create a generated resource file.""" - content = f'''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + content = f'''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any from ocp_resources.resource import NamespacedResource @@ -63,7 +63,7 @@ class ManualResource(Resource): def create_malformed_file(self, path: Path) -> None: """Helper to create a malformed Python file.""" - content = """# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + content = """# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md class BrokenSyntax( # Missing closing parenthesis @@ -185,7 +185,7 @@ def test_discover_skips_special_files(self, temp_resources_dir, monkeypatch): def test_discover_handles_multiple_classes(self, temp_resources_dir, monkeypatch): """Test discovery handles files with multiple classes correctly.""" # Create a file with multiple classes - content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from ocp_resources.resource import NamespacedResource, Resource diff --git a/class_generator/tests/test_class_generator.py b/class_generator/tests/test_class_generator.py index 4bd6ae1bc8..d74efbf3be 100644 --- a/class_generator/tests/test_class_generator.py +++ b/class_generator/tests/test_class_generator.py @@ -1,4 +1,4 @@ -# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md#adding-tests +# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md#adding-tests import filecmp import traceback diff --git a/class_generator/tests/test_user_code_parser.py b/class_generator/tests/test_user_code_parser.py index 7a6753c96c..8586901791 100644 --- a/class_generator/tests/test_user_code_parser.py +++ b/class_generator/tests/test_user_code_parser.py @@ -13,7 +13,7 @@ class TestUserCodeParser: def test_parse_file_with_user_code_and_imports(self): """Test parsing a file with both user code and user imports.""" - content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any from ocp_resources.resource import NamespacedResource @@ -88,7 +88,7 @@ def __init__(self, **kwargs): def test_parse_file_with_multiline_imports(self): """Test parsing a file with multi-line imports.""" - content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any from ocp_resources.resource import Resource @@ -131,7 +131,7 @@ def custom_method(self): def test_parse_file_with_different_template_imports(self): """Test parsing with different combinations of template imports.""" - content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any from ocp_resources.exceptions import MissingRequiredArgumentError @@ -181,7 +181,7 @@ def test_parse_empty_file(self): def test_parse_file_with_only_marker(self): """Test parsing a file with only the marker and no user code.""" - content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any from ocp_resources.resource import Resource @@ -207,7 +207,7 @@ class MyResource(Resource): def test_parse_file_with_exceptions_import(self): """Test parsing a file with import from ocp_resources.exceptions module.""" - content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any from ocp_resources.resource import NamespacedResource @@ -245,7 +245,7 @@ def custom_method(self): def test_parse_file_with_syntax_error(self): """Test parsing a file with syntax errors in imports section.""" - content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any from ocp_resources.resource import Resource diff --git a/class_generator/tests/test_utils.py b/class_generator/tests/test_utils.py index 1a73d0d7a9..455984714e 100644 --- a/class_generator/tests/test_utils.py +++ b/class_generator/tests/test_utils.py @@ -84,7 +84,7 @@ def temp_ocp_resources_dir(self): def test_scan_resources_with_valid_files(self, temp_ocp_resources_dir): """Test scanning resources with valid resource files.""" # Create a valid resource file - resource_content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + resource_content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from typing import Any from ocp_resources.resource import NamespacedResource, MissingRequiredArgumentError @@ -145,7 +145,7 @@ class CustomResource(Resource): def test_extract_resource_info_with_base_resource(self, temp_ocp_resources_dir): """Test extracting info from a Resource-based class.""" - resource_content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + resource_content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from ocp_resources.resource import Resource @@ -176,7 +176,7 @@ def __init__(self, spec=None, **kwargs): def test_extract_resource_info_ephemeral_resource(self, temp_ocp_resources_dir): """Test extracting info for ephemeral resources like ProjectRequest.""" - resource_content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + resource_content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from ocp_resources.resource import Resource @@ -201,7 +201,7 @@ def __init__(self, name=None, **kwargs): def test_analyze_init_with_defaults(self, temp_ocp_resources_dir): """Test analyzing __init__ method with default parameters.""" - resource_content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + resource_content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from ocp_resources.resource import NamespacedResource @@ -229,7 +229,7 @@ def __init__(self, name, namespace, replicas=1, strategy=None, **kwargs): def test_analyze_to_dict_required_params(self, temp_ocp_resources_dir): """Test analyzing to_dict method to find truly required parameters.""" - resource_content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + resource_content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from ocp_resources.resource import NamespacedResource, MissingRequiredArgumentError @@ -264,7 +264,7 @@ def to_dict(self): def test_extract_api_info_with_enum_style(self, temp_ocp_resources_dir): """Test extracting API info using enum-style attributes.""" - resource_content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + resource_content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from ocp_resources.resource import NamespacedResource @@ -300,7 +300,7 @@ def test_scan_resources_sorted_by_name(self, temp_ocp_resources_dir): """Test that resources are returned sorted by name.""" # Create multiple resource files for name in ["zebra", "alpha", "beta"]: - content = f"""# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md + content = f"""# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md from ocp_resources.resource import Resource diff --git a/class_generator/utils.py b/class_generator/utils.py index 4f7130839a..49ded2ca83 100644 --- a/class_generator/utils.py +++ b/class_generator/utils.py @@ -269,7 +269,7 @@ def _analyze_resource_file(self, file_path: Path) -> ResourceInfo | None: # Only consider resources with the generated marker comment if ( - "# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md" + "# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md" not in content ): return None diff --git a/tests/scripts/validate_resources.py b/tests/scripts/validate_resources.py index bf2a520312..2913670966 100644 --- a/tests/scripts/validate_resources.py +++ b/tests/scripts/validate_resources.py @@ -120,7 +120,7 @@ def parse_resource_file_for_errors(data) -> list[str]: _resources_definitions = resources_definitions() if data.startswith( - "# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md" + "# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md" ): return []