Skip to content

Commit 33c6ac5

Browse files
committed
docs: update API documentation links in Lock classes
1 parent 02cd383 commit 33c6ac5

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

linode_api4/groups/lock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __call__(self, *filters):
2424
2525
locks = client.locks()
2626
27-
API Documentation: TBD
27+
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-resource-locks
2828
2929
:param filters: Any number of filters to apply to this query.
3030
See :doc:`Filtering Collections</linode_api4/objects/filtering>`
@@ -44,7 +44,7 @@ def create(
4444
"""
4545
Creates a new Resource Lock for the specified entity.
4646
47-
API Documentation: TBD
47+
API Documentation: https://techdocs.akamai.com/linode-api/reference/post-resource-lock
4848
4949
:param entity_type: The type of entity to lock (e.g., "linode").
5050
:type entity_type: str

linode_api4/objects/lock.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class LockType(StrEnum):
1010
"""
1111
LockType defines valid values for resource lock types.
1212
13-
API Documentation: TBD
13+
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-resource-lock
1414
"""
1515

1616
cannot_delete = "cannot_delete"
@@ -22,7 +22,7 @@ class LockEntity(JSONObject):
2222
"""
2323
Represents the entity that is locked.
2424
25-
API Documentation: TBD
25+
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-resource-lock
2626
"""
2727

2828
id: int = 0
@@ -35,7 +35,7 @@ class Lock(Base):
3535
"""
3636
A resource lock that prevents deletion or modification of a resource.
3737
38-
API Documentation: TBD
38+
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-resource-lock
3939
"""
4040

4141
api_endpoint = "/locks/{id}"

0 commit comments

Comments
 (0)