remove unnecessary imports in cinder schemas
Change-Id: Ieb525653e836e3bd2e8b0aa99544f878d392814b
This commit is contained in:
9 changed files with 5 additions and 33 deletions
@@ -13,16 +13,10 @@
import copy
from typing import Any
from codegenerator.openapi.cinder_schemas import common
from cinder.api.schemas import admin_actions
from cinder.api.validation import parameter_types
from codegenerator.common.schema import ParameterSchema
from codegenerator.common.schema import PathSchema
from codegenerator.common.schema import SpecSchema
from codegenerator.common.schema import TypeSchema
ATTACHMENT_SCHEMA: dict[str, Any] = {
"type": "object",
"properties": {
@@ -13,13 +13,8 @@
import copy
from typing import Any
from cinder.api.schemas import admin_actions
from cinder.api.validation import parameter_types
from codegenerator.openapi.cinder_schemas import common
from codegenerator.common.schema import ParameterSchema
from codegenerator.common.schema import PathSchema
from codegenerator.common.schema import SpecSchema
from codegenerator.common.schema import TypeSchema
BACKUP_LIST_PARAMETERS: dict[str, Any] = {
@@ -13,9 +13,6 @@
import copy
from typing import Any
from cinder.api.schemas import admin_actions
from cinder.api.validation import parameter_types
# NOTE(gtema): This is a temporary location for schemas not currently defined
# in Cinder. Once everything is stabilized those must be moved directly to Cinder
@@ -12,9 +12,9 @@
#
from typing import Any
from codegenerator.common.schema import TypeSchema
LIMITS_SCHEMA: dict[str, Any] = {
"type": "object",
"properties": {
@@ -14,6 +14,7 @@ from typing import Any
from codegenerator.common.schema import TypeSchema
RESOURCE_FILTERS_SCHEMA: dict[str, Any] = {
"type": "object",
"properties": {
@@ -15,12 +15,7 @@ from typing import Any
from codegenerator.openapi.cinder_schemas import common
from cinder.api.schemas import admin_actions
from cinder.api.validation import parameter_types
from codegenerator.common.schema import ParameterSchema
from codegenerator.common.schema import PathSchema
from codegenerator.common.schema import SpecSchema
from codegenerator.common.schema import TypeSchema
SNAPSHOT_STATUS_ENUM: list[str] = [
@@ -13,16 +13,13 @@
import copy
from typing import Any
from codegenerator.openapi.cinder_schemas import common
from cinder.api.schemas import admin_actions
from cinder.api.validation import parameter_types
from codegenerator.openapi.cinder_schemas import common
from codegenerator.common.schema import ParameterSchema
from codegenerator.common.schema import PathSchema
from codegenerator.common.schema import SpecSchema
from codegenerator.common.schema import TypeSchema
ATTACHMENT_SCHEMA: dict[str, Any] = {
"type": "object",
"properties": {
@@ -10,11 +10,8 @@
# License for the specific language governing permissions and limitations
# under the License.
#
import copy
from typing import Any
from codegenerator.openapi.cinder_schemas import common
from cinder.api.schemas import volume_manage
from codegenerator.common.schema import ParameterSchema
@@ -10,15 +10,11 @@
# License for the specific language governing permissions and limitations
# under the License.
#
import copy
from typing import Any
from cinder.api.schemas import admin_actions
from cinder.api.validation import parameter_types
from codegenerator.common.schema import ParameterSchema
from codegenerator.common.schema import PathSchema
from codegenerator.common.schema import SpecSchema
from codegenerator.common.schema import TypeSchema
VOLUME_TYPE_SCHEMA: dict[str, Any] = {
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.