class_docstr: A plugin definition.
  
  Args:
      directory: the directory containing the plugin
      metadata: a plugin metadata dict
class_docstr_tok: ["A","plugin","definition",".","Args",":","directory",":","the","directory","containing","the","plugin","metadata",":","a","plugin","metadata","dict"]
code: def _get_abs_path(self, filename):
      if not filename:
          return None
  
      return os.path.join(self.directory, filename)
  
imports: import os
  import yaml
  import eta.core.serial
  import fiftyone
label_desc: Use image node_id 27 for calling the PluginDefinition obj's underlying member method code with example usage: obj._get_abs_path(filename) and returns: os, None