From 309cab4282d1b0e651fd33ee41f6f548609953e4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 09:51:06 +0300 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#1510) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.9.1 → 23.10.0](https://github.com/psf/black/compare/23.9.1...23.10.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- examples/special_cases.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 94c0166224..9da5b8b039 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: isort - repo: https://github.com/psf/black - rev: "23.9.1" + rev: "23.10.0" hooks: - id: black args: [--preview] diff --git a/examples/special_cases.py b/examples/special_cases.py index 81408eeb70..6032241b73 100644 --- a/examples/special_cases.py +++ b/examples/special_cases.py @@ -2,6 +2,7 @@ Some resources have the same `kind` but different API groups. For example: `Network` which exists in both operator.openshift.io and config.openshift.io API groups """ + from ocp_resources.network import Network # To get the Network resource which uses the default API in the class ("config.openshift.io")