parameters: ( self )
return_statement: return int(safeRunDict['result'][0])
docstring: Queries Tier0DataSvc to get the first condition safe run.
          Parameters:
          @returns: integer, the run number.
          Raises if connection error, bad response, timeout after retries occur, or if the run number is not available.
docstring_summary: Queries Tier0DataSvc to get the first condition safe run.
          Parameters:
docstring_tokens: Queries Tier0DataSvc to get the first condition safe run . Parameters :
function: def getFirstSafeRun( self ):
          """
          Queries Tier0DataSvc to get the first condition safe run.
          Parameters:
          @returns: integer, the run number.
          Raises if connection error, bad response, timeout after retries occur, or if the run number is not available.
          """
          firstConditionSafeRunAPI = "firstconditionsaferun"
          safeRunDict = self._queryTier0DataSvc( os.path.join( self._uri, firstConditionSafeRunAPI ) )
          if safeRunDict is None:
              errStr = """First condition safe run is not available in Tier0DataSvc from URL \"%s\" """ %( os.path.join( self._uri, firstConditionSafeRunAPI ), )
              if self._proxy:
                  errStr += """ using proxy \"%s\".""" %( str( self._proxy ), )
              raise Tier0Error( errStr )
          return int(safeRunDict['result'][0])
function_tokens: def getFirstSafeRun ( self ) : firstConditionSafeRunAPI = "firstconditionsaferun" safeRunDict = self . _queryTier0DataSvc ( os . path . join ( self . _uri , firstConditionSafeRunAPI ) ) if safeRunDict is None : errStr = """First condition safe run is not available in Tier0DataSvc from URL \"%s\" """ % ( os . path . join ( self . _uri , firstConditionSafeRunAPI ) , ) if self . _proxy : errStr += """ using proxy \"%s\".""" % ( str ( self . _proxy ) , ) raise Tier0Error ( errStr ) return int ( safeRunDict [ 'result' ] [ 0 ] )