parameters: (self, environment, name, filename, source)
return_statement: return bucket
docstring: Return a cache bucket for the given template.  All arguments are
          mandatory but filename may be `None`.
docstring_summary: Return a cache bucket for the given template.  All arguments are
          mandatory but filename may be `None`.
docstring_tokens: Return a cache bucket for the given template . All arguments are mandatory but filename may be None .
function: def get_bucket(self, environment, name, filename, source):
          """Return a cache bucket for the given template.  All arguments are
          mandatory but filename may be `None`.
          """
          key = self.get_cache_key(name, filename)
          checksum = self.get_source_checksum(source)
          bucket = Bucket(environment, key, checksum)
          self.load_bytecode(bucket)
          return bucket
function_tokens: def get_bucket ( self , environment , name , filename , source ) : key = self . get_cache_key ( name , filename ) checksum = self . get_source_checksum ( source ) bucket = Bucket ( environment , key , checksum ) self . load_bytecode ( bucket ) return bucket