diff --git a/src/vws/query.py b/src/vws/query.py index ad55d8a4..9c997177 100644 --- a/src/vws/query.py +++ b/src/vws/query.py @@ -46,6 +46,7 @@ class CloudRecoService: def __init__( self, + *, client_access_key: str, client_secret_key: str, base_vwq_url: str = "https://cloudreco.vuforia.com", @@ -68,6 +69,7 @@ def __init__( def query( self, + *, image: _ImageType, max_num_results: int = 1, include_target_data: CloudRecoIncludeTargetData = ( diff --git a/src/vws/vws.py b/src/vws/vws.py index 6977ed18..1aa11374 100644 --- a/src/vws/vws.py +++ b/src/vws/vws.py @@ -63,6 +63,7 @@ class VWS: def __init__( self, + *, server_access_key: str, server_secret_key: str, base_vws_url: str = "https://vws.vuforia.com", @@ -171,11 +172,11 @@ def make_request( def add_target( self, + *, name: str, width: float, image: _ImageType, application_metadata: str | None, - *, active_flag: bool, ) -> str: """Add a target to a Vuforia Web Services database. @@ -302,6 +303,7 @@ def get_target_record(self, target_id: str) -> TargetStatusAndRecord: def wait_for_target_processed( self, + *, target_id: str, seconds_between_requests: float = 0.2, timeout_seconds: float = 60 * 5,