class_docstr: Provides convenience methods for accessing and modifying the rules table.
class_docstr_tok: ["Provides","convenience","methods","for","accessing","and","modifying","the","rules","table","."]
docstr: Get staging window to be used for this rule
  
  Returns:
      tuple: staging start datetime, staging end datetime
docstr_tok: ["Get","staging","window","to","be","used","for","this","rule","Returns",":","tuple",":","staging","start","datetime",",","staging","end","datetime"]
code: def _staged_window():
      """Get staging window to be used for this rule
  
      Returns:
          tuple: staging start datetime, staging end datetime
      """
      staged_at = datetime.utcnow()
      staged_until = staged_at + timedelta(
          hours=RuleTable.DEFAULT_STAGING_HOURS
      )
      return (
          staged_at.strftime(RuleTable.DATETIME_FORMAT),
          staged_until.strftime(RuleTable.DATETIME_FORMAT),
      )
  
imports: from datetime import datetime, timedelta
  import boto3
  from streamalert.shared.helpers.dynamodb import ignore_conditional_failure
  from streamalert.shared.importer import import_folders
  from streamalert.shared.logger import get_logger
  from streamalert.shared.rule import Rule
label_desc: Use image node_id 9 for calling the RuleTable obj's underlying member method code with example usage: obj._staged_window() and returns: staged_at,  staged_until