class_docstr: Duo base app integration. This is subclassed for the auth and admin APIs
class_docstr_tok: ["Duo","base","app","integration",".","This","is","subclassed","for","the","auth","and","admin","APIs"]
docstr: Return the number of seconds this polling function should sleep for
  between requests to avoid failed requests. Duo allows for 2 API requests
  every 1 minute, so this should sleep every 2 polls.
  
  Returns:
      int: Number of seconds that this function should sleep for between requests
docstr_tok: ["Return","the","number","of","seconds","this","polling","function","should","sleep","for","between","requests","to","avoid","failed","requests",".","Duo","allows","for","2","API","requests","every","1","minute",",","so","this","should","sleep","every","2","polls",".","Returns",":","int",":","Number","of","seconds","that","this","function","should","sleep","for","between","requests"]
code: def _sleep_seconds(self):
      """Return the number of seconds this polling function should sleep for
      between requests to avoid failed requests. Duo allows for 2 API requests
      every 1 minute, so this should sleep every 2 polls.
  
      Returns:
          int: Number of seconds that this function should sleep for between requests
      """
      return abs((self._poll_count % 2) - 1) * 60
  
imports: from base64 import b64encode
  from datetime import datetime
  import hashlib
  import hmac
  import re
  import urllib.request
  import urllib.parse
  import urllib.error
  import requests
  from .None import AppIntegration, StreamAlertApp, get_logger
label_desc: Use image node_id 7 for calling the DuoApp obj's underlying member method code with example usage: obj._sleep_seconds() and returns: unknown