Skip to content

[Versioning] Mechanism for importing versioned models is too cumbersome #2577

@tjprescott

Description

@tjprescott

From PR #2526:

Original

from azure.mgmt.storage.models import Encryption, EncryptionServices, EncryptionService

Current

Encryption, EncryptionServices, EncryptionService = versioned_models(ResourceType.MGMT_STORAGE_STORAGE_ACCOUNTS, 'Encryption', 'EncryptionServices', 'EncryptionService')

Before we apply the second pattern wholesale across the CLI, we should investigate how we can approach the ideal of the original, handling the versioning behind this scenes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions