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"]
docstr: The default server path to the plugin.
docstr_tok: ["The","default","server","path","to","the","plugin","."]
code: def server_path(self):
      """The default server path to the plugin."""
      relpath = os.path.relpath(self.directory, fo.config.plugins_dir)
      return "/" + os.path.join("plugins", relpath)
  
imports: import os
  import yaml
  import eta.core.serial
  import fiftyone
label_desc: Use image node_id 18 for calling the PluginDefinition obj's underlying member method code with example usage: obj.server_path() and returns: unknown