lots of small fixes and todo removals
This commit is contained in:
parent
82aa079af0
commit
1a0c4e63f5
6 changed files with 4 additions and 9 deletions
|
@ -70,7 +70,6 @@ def space_geometries(request, space_id: EditorID, update_cache_key: UpdateCacheK
|
|||
update_cache_key=update_cache_key,
|
||||
update_cache_key_match=kwargs["update_cache_key_match"]
|
||||
)
|
||||
# todo: test the heck out of this
|
||||
|
||||
|
||||
@editor_api_router.get('/geometries/level/{level_id}/', summary="level geometries",
|
||||
|
@ -90,7 +89,6 @@ def level_geometries(request, level_id: EditorID, update_cache_key: UpdateCacheK
|
|||
update_cache_key=update_cache_key,
|
||||
update_cache_key_match=kwargs["update_cache_key_match"]
|
||||
)
|
||||
# todo: test the heck out of this
|
||||
|
||||
|
||||
# todo: need a way to pass the changeset if it's not a session API key
|
||||
|
|
|
@ -31,7 +31,7 @@ EditorGeometriesUpdateCacheKeyElem = Annotated[
|
|||
Annotated[NonEmptyStr, APIField(title="the new cache key")],
|
||||
],
|
||||
APIField(
|
||||
title="new cache key", # todo better explanation
|
||||
title="new cache key",
|
||||
description="the first element of the list, it informs you of the cache key to store these geometries under"
|
||||
)
|
||||
]
|
||||
|
@ -41,7 +41,7 @@ EditorGeometriesCacheReferenceElem = Annotated[
|
|||
Annotated[EditorID, APIField(title="geometry id")], # this could be an editor id, right?
|
||||
],
|
||||
APIField(
|
||||
title="reference to a cached geometry", # todo better explanation
|
||||
title="reference to a cached geometry",
|
||||
description="replaces an element that has not changed from the cache key you supplied. get it from your cache."
|
||||
)
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue