parameters: (self)
docstring: Will return the expected deadline (or None) for this state calculated
          from datetime.today()
docstring_summary: Will return the expected deadline (or None) for this state calculated
          from datetime.today()
docstring_tokens: Will return the expected deadline ( or None ) for this state calculated from datetime . today ()
function: def deadline(self):
          """
          Will return the expected deadline (or None) for this state calculated
          from datetime.today()
          """
          if self.estimation_value > 0:
              duration = datetime.timedelta(
                      seconds=(self.estimation_value*self.estimation_unit)
                      )
              return (self._today()+duration)
          else:
              return None
function_tokens: def deadline ( self ) : if self . estimation_value > 0 : duration = datetime . timedelta ( seconds = ( self . estimation_value * self . estimation_unit ) ) return ( self . _today ( ) + duration ) else : return None