@@ -150,7 +150,7 @@ def __init__(
150150 self ._server_secret_key = server_secret_key
151151 self ._base_vws_url = base_vws_url
152152
153- def _make_request (
153+ def make_request (
154154 self ,
155155 method : str ,
156156 data : bytes ,
@@ -309,7 +309,7 @@ def add_target(
309309
310310 content = json .dumps (obj = data ).encode (encoding = "utf-8" )
311311
312- response = self ._make_request (
312+ response = self .make_request (
313313 method = HTTPMethod .POST ,
314314 data = content ,
315315 request_path = "/targets" ,
@@ -346,7 +346,7 @@ def get_target_record(self, target_id: str) -> TargetStatusAndRecord:
346346 ~vws.exceptions.vws_exceptions.TooManyRequestsError: Vuforia is
347347 rate limiting access.
348348 """
349- response = self ._make_request (
349+ response = self .make_request (
350350 method = HTTPMethod .GET ,
351351 data = b"" ,
352352 request_path = f"/targets/{ target_id } " ,
@@ -442,7 +442,7 @@ def list_targets(self) -> list[str]:
442442 ~vws.exceptions.vws_exceptions.TooManyRequestsError: Vuforia is
443443 rate limiting access.
444444 """
445- response = self ._make_request (
445+ response = self .make_request (
446446 method = HTTPMethod .GET ,
447447 data = b"" ,
448448 request_path = "/targets" ,
@@ -479,7 +479,7 @@ def get_target_summary_report(self, target_id: str) -> TargetSummaryReport:
479479 ~vws.exceptions.vws_exceptions.TooManyRequestsError: Vuforia is
480480 rate limiting access.
481481 """
482- response = self ._make_request (
482+ response = self .make_request (
483483 method = HTTPMethod .GET ,
484484 data = b"" ,
485485 request_path = f"/summary/{ target_id } " ,
@@ -522,7 +522,7 @@ def get_database_summary_report(self) -> DatabaseSummaryReport:
522522 ~vws.exceptions.vws_exceptions.TooManyRequestsError: Vuforia is
523523 rate limiting access.
524524 """
525- response = self ._make_request (
525+ response = self .make_request (
526526 method = HTTPMethod .GET ,
527527 data = b"" ,
528528 request_path = "/summary" ,
@@ -572,7 +572,7 @@ def delete_target(self, target_id: str) -> None:
572572 ~vws.exceptions.vws_exceptions.TooManyRequestsError: Vuforia is
573573 rate limiting access.
574574 """
575- self ._make_request (
575+ self .make_request (
576576 method = HTTPMethod .DELETE ,
577577 data = b"" ,
578578 request_path = f"/targets/{ target_id } " ,
@@ -609,7 +609,7 @@ def get_duplicate_targets(self, target_id: str) -> list[str]:
609609 ~vws.exceptions.vws_exceptions.TooManyRequestsError: Vuforia is
610610 rate limiting access.
611611 """
612- response = self ._make_request (
612+ response = self .make_request (
613613 method = HTTPMethod .GET ,
614614 data = b"" ,
615615 request_path = f"/duplicates/{ target_id } " ,
@@ -695,7 +695,7 @@ def update_target(
695695
696696 content = json .dumps (obj = data ).encode (encoding = "utf-8" )
697697
698- self ._make_request (
698+ self .make_request (
699699 method = HTTPMethod .PUT ,
700700 data = content ,
701701 request_path = f"/targets/{ target_id } " ,
0 commit comments