示例#1
0
 def set_wallpaper_service(service):
     """Service to set wallpaper on devices."""
     set_wallpaper(api_key=api_key,
                   device_id=device_id,
                   device_ids=device_ids,
                   device_names=device_names,
                   url=service.data.get('url'))
示例#2
0
 def set_wallpaper_service(service: ServiceCall) -> None:
     """Service to set wallpaper on devices."""
     set_wallpaper(
         api_key=api_key,
         device_id=device_id,
         device_ids=device_ids,
         device_names=device_names,
         url=service.data.get("url"),
     )
 def set_wallpaper_service(service):
     """Service to set wallpaper on devices."""
     set_wallpaper(device_id, url=service.data.get('url'), api_key=api_key)
示例#4
0
 def set_wallpaper_service(service):
     """Service to set wallpaper on devices."""
     set_wallpaper(api_key=api_key, device_id=device_id,
                   device_ids=device_ids, device_names=device_names,
                   url=service.data.get('url'))