Skip to content

Commit 3e7b013

Browse files
committed
Update more Vuforia links
1 parent 9dcdf94 commit 3e7b013

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/mock_vws/_constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class TargetStatuses(Enum):
4141
Constants representing VWS target statuses.
4242
4343
See the 'status' field in
44-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Retrieve-a-Target-Record
44+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#target-record
4545
"""
4646

4747
PROCESSING = "processing"

src/mock_vws/_flask_server/vws.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def get_target(target_id: str) -> Response:
217217
Get details of a target.
218218
219219
Fake implementation of
220-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Retrieve-a-Target-Record
220+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#target-record
221221
"""
222222
databases = get_all_databases()
223223
database = get_database_matching_server_keys(
@@ -428,7 +428,7 @@ def get_duplicates(target_id: str) -> Response:
428428
Get targets which may be considered duplicates of a given target.
429429
430430
Fake implementation of
431-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Check-for-Duplicate-Targets
431+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#check
432432
"""
433433
databases = get_all_databases()
434434
settings = VWSSettings.model_validate(obj={})
@@ -529,7 +529,7 @@ def update_target(target_id: str) -> Response:
529529
Update a target.
530530
531531
Fake implementation of
532-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Update-a-Target
532+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#update
533533
"""
534534
settings = VWSSettings.model_validate(obj={})
535535
# We do not use ``request.get_json(force=True)`` because this only works

src/mock_vws/_requests_mock_server/mock_web_services_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def get_target(
398398
Get details of a target.
399399
400400
Fake implementation of
401-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Retrieve-a-Target-Record
401+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#target-record
402402
"""
403403
try:
404404
run_services_validators(
@@ -466,7 +466,7 @@ def get_duplicates(
466466
Get targets which may be considered duplicates of a given target.
467467
468468
Fake implementation of
469-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Check-for-Duplicate-Targets
469+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#check
470470
"""
471471
try:
472472
run_services_validators(

tests/mock_vws/test_get_target.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Tests for getting a target record.
33
4-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Retrieve-a-Target-Record
4+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#target-record
55
"""
66
from __future__ import annotations
77

0 commit comments

Comments
 (0)