Skip to content

misc(python): fix spelling; occured -> occurred #752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/stop_untagged_instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def join_lists(instance_list, events_list, filename):
item['instance_shape'], item['time_created'], item['instance_ocid'],
item['compartment_ocid'], item['creator']))
except Exception as e:
print('An unexpected Error Occured writing the file: {0}' .format(e))
print('An unexpected Error Occurred writing the file: {0}' .format(e))


# This function stops the instance sent in as a parameter
Expand Down
8 changes: 4 additions & 4 deletions src/oci/adm/models/work_request_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, **kwargs):
def code(self):
"""
**[Required]** Gets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)


Expand All @@ -64,7 +64,7 @@ def code(self):
def code(self, code):
"""
Sets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)


Expand Down Expand Up @@ -101,7 +101,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestError.
The time the error occured. An RFC3339 formatted datetime string.
The time the error occurred. An RFC3339 formatted datetime string.


:return: The timestamp of this WorkRequestError.
Expand All @@ -113,7 +113,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestError.
The time the error occured. An RFC3339 formatted datetime string.
The time the error occurred. An RFC3339 formatted datetime string.


:param timestamp: The timestamp of this WorkRequestError.
Expand Down
8 changes: 4 additions & 4 deletions src/oci/ai_anomaly_detection/models/work_request_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, **kwargs):
def code(self):
"""
**[Required]** Gets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)


Expand All @@ -64,7 +64,7 @@ def code(self):
def code(self, code):
"""
Sets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)


Expand Down Expand Up @@ -101,7 +101,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestError.
The time the error occured. An RFC3339 formatted datetime string.
The time the error occurred. An RFC3339 formatted datetime string.


:return: The timestamp of this WorkRequestError.
Expand All @@ -113,7 +113,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestError.
The time the error occured. An RFC3339 formatted datetime string.
The time the error occurred. An RFC3339 formatted datetime string.


:param timestamp: The timestamp of this WorkRequestError.
Expand Down
8 changes: 4 additions & 4 deletions src/oci/ai_document/models/work_request_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, **kwargs):
def code(self):
"""
**[Required]** Gets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).


Expand All @@ -64,7 +64,7 @@ def code(self):
def code(self, code):
"""
Sets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).


Expand Down Expand Up @@ -101,7 +101,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestError.
When the error occured, as an RFC3339 formatted datetime.
When the error occurred, as an RFC3339 formatted datetime.


:return: The timestamp of this WorkRequestError.
Expand All @@ -113,7 +113,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestError.
When the error occured, as an RFC3339 formatted datetime.
When the error occurred, as an RFC3339 formatted datetime.


:param timestamp: The timestamp of this WorkRequestError.
Expand Down
8 changes: 4 additions & 4 deletions src/oci/ai_language/models/work_request_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, **kwargs):
def code(self):
"""
**[Required]** Gets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)


Expand All @@ -64,7 +64,7 @@ def code(self):
def code(self, code):
"""
Sets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)


Expand Down Expand Up @@ -101,7 +101,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestError.
The time the error occured. An RFC3339 formatted datetime string.
The time the error occurred. An RFC3339 formatted datetime string.


:return: The timestamp of this WorkRequestError.
Expand All @@ -113,7 +113,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestError.
The time the error occured. An RFC3339 formatted datetime string.
The time the error occurred. An RFC3339 formatted datetime string.


:param timestamp: The timestamp of this WorkRequestError.
Expand Down
8 changes: 4 additions & 4 deletions src/oci/ai_vision/models/work_request_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, **kwargs):
def code(self):
"""
**[Required]** Gets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).


Expand All @@ -64,7 +64,7 @@ def code(self):
def code(self, code):
"""
Sets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).


Expand Down Expand Up @@ -101,7 +101,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestError.
When the error occured, as an RFC3339 formatted datetime.
When the error occurred, as an RFC3339 formatted datetime.


:return: The timestamp of this WorkRequestError.
Expand All @@ -113,7 +113,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestError.
When the error occured, as an RFC3339 formatted datetime.
When the error occurred, as an RFC3339 formatted datetime.


:param timestamp: The timestamp of this WorkRequestError.
Expand Down
4 changes: 2 additions & 2 deletions src/oci/analytics/models/work_request_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestError.
The date and time the error occured, in the format defined by RFC3339.
The date and time the error occurred, in the format defined by RFC3339.

Example: `2016-08-25T21:10:29.600Z`

Expand All @@ -113,7 +113,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestError.
The date and time the error occured, in the format defined by RFC3339.
The date and time the error occurred, in the format defined by RFC3339.

Example: `2016-08-25T21:10:29.600Z`

Expand Down
4 changes: 2 additions & 2 deletions src/oci/analytics/models/work_request_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestLog.
The date and time the log entry occured, in the format defined by RFC3339.
The date and time the log entry occurred, in the format defined by RFC3339.

Example: `2016-08-25T21:10:29.600Z`

Expand All @@ -82,7 +82,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestLog.
The date and time the log entry occured, in the format defined by RFC3339.
The date and time the log entry occurred, in the format defined by RFC3339.

Example: `2016-08-25T21:10:29.600Z`

Expand Down
8 changes: 4 additions & 4 deletions src/oci/apigateway/models/work_request_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, **kwargs):
def code(self):
"""
**[Required]** Gets the code of this WorkRequestError.
A machine-usable code for the error that occured. See
A machine-usable code for the error that occurred. See
<a href=\"/Content/API/References/apierrors.htm\">API Errors</a>.


Expand All @@ -64,7 +64,7 @@ def code(self):
def code(self, code):
"""
Sets the code of this WorkRequestError.
A machine-usable code for the error that occured. See
A machine-usable code for the error that occurred. See
<a href=\"/Content/API/References/apierrors.htm\">API Errors</a>.


Expand Down Expand Up @@ -101,7 +101,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestError.
The time the error occured. An RFC3339 formatted datetime string.
The time the error occurred. An RFC3339 formatted datetime string.


:return: The timestamp of this WorkRequestError.
Expand All @@ -113,7 +113,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestError.
The time the error occured. An RFC3339 formatted datetime string.
The time the error occurred. An RFC3339 formatted datetime string.


:param timestamp: The timestamp of this WorkRequestError.
Expand Down
8 changes: 4 additions & 4 deletions src/oci/appmgmt_control/models/work_request_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, **kwargs):
def code(self):
"""
**[Required]** Gets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)


Expand All @@ -64,7 +64,7 @@ def code(self):
def code(self, code):
"""
Sets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)


Expand Down Expand Up @@ -101,7 +101,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestError.
The time the error occured. An RFC3339 formatted datetime string.
The time the error occurred. An RFC3339 formatted datetime string.


:return: The timestamp of this WorkRequestError.
Expand All @@ -113,7 +113,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestError.
The time the error occured. An RFC3339 formatted datetime string.
The time the error occurred. An RFC3339 formatted datetime string.


:param timestamp: The timestamp of this WorkRequestError.
Expand Down
8 changes: 4 additions & 4 deletions src/oci/blockchain/models/work_request_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, **kwargs):
def code(self):
"""
**[Required]** Gets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)


Expand All @@ -64,7 +64,7 @@ def code(self):
def code(self, code):
"""
Sets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)


Expand Down Expand Up @@ -101,7 +101,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestError.
The time the error occured. An RFC3339 formatted datetime string.
The time the error occurred. An RFC3339 formatted datetime string.


:return: The timestamp of this WorkRequestError.
Expand All @@ -113,7 +113,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestError.
The time the error occured. An RFC3339 formatted datetime string.
The time the error occurred. An RFC3339 formatted datetime string.


:param timestamp: The timestamp of this WorkRequestError.
Expand Down
8 changes: 4 additions & 4 deletions src/oci/cloud_guard/models/work_request_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self, **kwargs):
def code(self):
"""
**[Required]** Gets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).


Expand All @@ -65,7 +65,7 @@ def code(self):
def code(self, code):
"""
Sets the code of this WorkRequestError.
A machine-usable code for the error that occured. Error codes are listed on
A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).


Expand Down Expand Up @@ -102,7 +102,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestError.
The time the error occured
The time the error occurred


:return: The timestamp of this WorkRequestError.
Expand All @@ -114,7 +114,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestError.
The time the error occured
The time the error occurred


:param timestamp: The timestamp of this WorkRequestError.
Expand Down
Loading