33
44from hvpy .core import execute_api_call
55from hvpy .parameters import *
6- from hvpy .utils import add_shared_docstring
6+ from hvpy .utils import _add_shared_docstring
77
88__all__ = [
99 "getJP2Image" ,
2525]
2626
2727
28- @add_shared_docstring (getJP2ImageInputParameters )
28+ @_add_shared_docstring (getJP2ImageInputParameters )
2929def getJP2Image (
3030 date : datetime ,
3131 sourceId : int ,
@@ -49,7 +49,7 @@ def getJP2Image(
4949 return execute_api_call (input_parameters = params )
5050
5151
52- @add_shared_docstring (getJP2HeaderInputParameters )
52+ @_add_shared_docstring (getJP2HeaderInputParameters )
5353def getJP2Header (
5454 id : int ,
5555 callback : Optional [str ] = None ,
@@ -71,7 +71,7 @@ def getJP2Header(
7171 return execute_api_call (input_parameters = params )
7272
7373
74- @add_shared_docstring (getJPXClosestToMidPointInputParameters )
74+ @_add_shared_docstring (getJPXClosestToMidPointInputParameters )
7575def getJPXClosestToMidPoint (
7676 startTimes : List [datetime ],
7777 endTimes : List [datetime ],
@@ -111,7 +111,7 @@ def getJPXClosestToMidPoint(
111111 return execute_api_call (input_parameters = params )
112112
113113
114- @add_shared_docstring (getJPXInputParameters )
114+ @_add_shared_docstring (getJPXInputParameters )
115115def getJPX (
116116 startTime : List [datetime ],
117117 endTime : List [datetime ],
@@ -153,7 +153,7 @@ def getJPX(
153153 return execute_api_call (input_parameters = params )
154154
155155
156- @add_shared_docstring (getStatusInputParameters )
156+ @_add_shared_docstring (getStatusInputParameters )
157157def getStatus () -> Union [bytes , str , Dict [str , Any ]]:
158158 """
159159 Returns information about how far behind the latest available JPEG2000
@@ -172,7 +172,7 @@ def getStatus() -> Union[bytes, str, Dict[str, Any]]:
172172 return execute_api_call (input_parameters = params )
173173
174174
175- @add_shared_docstring (getClosestImageInputParameters )
175+ @_add_shared_docstring (getClosestImageInputParameters )
176176def getClosestImage (
177177 date : datetime ,
178178 sourceId : int ,
@@ -200,7 +200,7 @@ def getClosestImage(
200200 return execute_api_call (input_parameters = params )
201201
202202
203- @add_shared_docstring (getDataSourcesInputParameters )
203+ @_add_shared_docstring (getDataSourcesInputParameters )
204204def getDataSources (
205205 verbose : Optional [bool ] = False ,
206206 enable : Optional [str ] = None ,
@@ -226,7 +226,7 @@ def getDataSources(
226226 return execute_api_call (input_parameters = params )
227227
228228
229- @add_shared_docstring (takeScreenshotInputParameters )
229+ @_add_shared_docstring (takeScreenshotInputParameters )
230230def takeScreenshot (
231231 date : datetime ,
232232 imageScale : float ,
@@ -295,7 +295,7 @@ def takeScreenshot(
295295 return execute_api_call (input_parameters = params )
296296
297297
298- @add_shared_docstring (downloadScreenshotInputParameters )
298+ @_add_shared_docstring (downloadScreenshotInputParameters )
299299def downloadScreenshot (id : int ) -> Union [bytes , str , Dict [str , Any ]]:
300300 """
301301 Download a custom screenshot that was generated using the
@@ -314,7 +314,7 @@ def downloadScreenshot(id: int) -> Union[bytes, str, Dict[str, Any]]:
314314 return execute_api_call (input_parameters = params )
315315
316316
317- @add_shared_docstring (queueMovieInputParameters )
317+ @_add_shared_docstring (queueMovieInputParameters )
318318def queueMovie (
319319 startTime : datetime ,
320320 endTime : datetime ,
@@ -398,7 +398,7 @@ def queueMovie(
398398 return execute_api_call (input_parameters = params )
399399
400400
401- @add_shared_docstring (reQueueMovieInputParameters )
401+ @_add_shared_docstring (reQueueMovieInputParameters )
402402def reQueueMovie (
403403 id : str ,
404404 force : Optional [bool ] = False ,
@@ -422,7 +422,7 @@ def reQueueMovie(
422422 return execute_api_call (input_parameters = params )
423423
424424
425- @add_shared_docstring (getMovieStatusInputParameters )
425+ @_add_shared_docstring (getMovieStatusInputParameters )
426426def getMovieStatus (
427427 id : str ,
428428 format : str ,
@@ -452,7 +452,7 @@ def getMovieStatus(
452452 return execute_api_call (input_parameters = params )
453453
454454
455- @add_shared_docstring (downloadMovieInputParameters )
455+ @_add_shared_docstring (downloadMovieInputParameters )
456456def downloadMovie (
457457 id : str ,
458458 format : str ,
@@ -479,7 +479,7 @@ def downloadMovie(
479479 return execute_api_call (input_parameters = params )
480480
481481
482- @add_shared_docstring (getNewsFeedInputParameters )
482+ @_add_shared_docstring (getNewsFeedInputParameters )
483483def getNewsFeed (
484484 callback : Optional [str ] = None ,
485485) -> Union [bytes , str , Dict [str , Any ]]:
@@ -501,7 +501,7 @@ def getNewsFeed(
501501 return execute_api_call (input_parameters = params )
502502
503503
504- @add_shared_docstring (shortenURLInputParameters )
504+ @_add_shared_docstring (shortenURLInputParameters )
505505def shortenURL (
506506 queryString : str ,
507507 callback : Optional [str ] = None ,
@@ -525,7 +525,7 @@ def shortenURL(
525525 return execute_api_call (input_parameters = params )
526526
527527
528- @add_shared_docstring (getTileInputParameters )
528+ @_add_shared_docstring (getTileInputParameters )
529529def getTile (
530530 id : int ,
531531 x : int ,
0 commit comments