Skip to content

docs: fix 18 typos in model docstrings and VMware sample - #89

Open
Avicennasis wants to merge 1 commit into
cohesity:masterfrom
Avicennasis:docs-fix-typos
Open

docs: fix 18 typos in model docstrings and VMware sample#89
Avicennasis wants to merge 1 commit into
cohesity:masterfrom
Avicennasis:docs-fix-typos

Conversation

@Avicennasis

Copy link
Copy Markdown

Summary

Fixes 18 spelling/typo issues across 5 files. Documentation strings and one sample-script print only - no API behaviour, field names, or identifiers were changed.

cohesity_management_sdk/models/io_preferential_tier.py (10)

  • perferred -> preferred (9 occurrences in the class docstring)
  • correponding -> corresponding

cohesity_management_sdk/models/registered_app_info.py (1)

  • 'AgnetRunning' -> 'AgentRunning' - the docstring lists example host-settings check names; the real enum in check_type_enum.py / host_settings_check_result.py is kIsAgentRunning, so this was a plain misspelling in prose, not a real value.

cohesity_management_sdk/models/update_application_server_parameters.py (2) and register_application_servers_parameters.py (2)

  • 'user_ecryption_key' -> 'user_encryption_key' - no field by either name exists in the SDK (the real attribute is encryption_key / encryptionKey), and the following sentence already says "user encryption key", so this is prose.
  • internal magento key -> internal magneto key - "Magneto" is the Cohesity component (80 files in this repo reference magneto, including magneto_object_id.py and magneto_instance_id.py); magento appears only 3 times and is the e-commerce platform. The same docstring already says "internal magneto key" two attributes later, so this makes the paragraph self-consistent.

samples/vmware/create_protect_vms.py (3)

  • Test method ot get VMs -> Test method to get VMs
  • prtection job is already protecting -> protection job is already protecting
  • print("Successfully added VMs added to protection job.") -> print("Successfully added VMs to protection job.") - duplicated word in the output string. This is the only occurrence in the repo; no tests assert on it.

Note for reviewers

magento also appears once in cohesity_management_sdk/models/register_protection_source_parameters.py, which was outside the scope of this change - happy to include it if you'd like.

Corrects spelling errors in model docstrings (perferred, correponding,
Agnet, user_ecryption_key, magento) and in the VMware sample script
(ot, prtection, duplicated 'added' in a print statement).
Documentation and one sample print string only; no API behaviour changes.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@Avicennasis