parameters: (self, suffix='.cast.gz')
return_statement: return os.path.join(date, str(self.id) + suffix)
docstring: relative_path: 2021-12-08/session_id.cast.gz
          通过后缀名获取外部存储录像文件路径
          :param suffix: .cast.gz | '.replay.gz' | '.gz'
          :return:
docstring_summary: relative_path: 2021-12-08/session_id.cast.gz
          通过后缀名获取外部存储录像文件路径
          :param suffix: .cast.gz | '.replay.gz' | '.gz'
          :return:
docstring_tokens: relative_path : 2021 - 12 - 08 / session_id . cast . gz 通过后缀名获取外部存储录像文件路径 : param suffix : . cast . gz | . replay . gz | . gz : return :
function: def get_relative_path_by_suffix(self, suffix='.cast.gz'):
          """
          relative_path: 2021-12-08/session_id.cast.gz
          通过后缀名获取外部存储录像文件路径
          :param suffix: .cast.gz | '.replay.gz' | '.gz'
          :return:
          """
          date = self.date_start.strftime('%Y-%m-%d')
          return os.path.join(date, str(self.id) + suffix)
function_tokens: def get_relative_path_by_suffix ( self , suffix = '.cast.gz' ) : date = self . date_start . strftime ( '%Y-%m-%d' ) return os . path . join ( date , str ( self . id ) + suffix )