code: def get_entry_by_material_id(self, material_id, compatible_only=True,
                                   inc_structure=None, property_data=None,
                                   conventional_unit_cell=False):
          
          data = self.get_entries(material_id, compatible_only=compatible_only,
                                  inc_structure=inc_structure,
                                  property_data=property_data,
                                  conventional_unit_cell=conventional_unit_cell)
          return data[0]
docs: Get a ComputedEntry corresponding to a material_id.
  
          Args:
              material_id (str): Materials Project material_id (a string,
                  e.g., mp-1234).
              compatible_only (bool): Whether to return only "compatible"
                  entries. Compatible entries are entries that have been
                  processed using the MaterialsProjectCompatibility class,
                  which performs adjustments to allow mixing of GGA and GGA+U
                  calculations for more accurate phase diagrams and reaction
                  energies.
              inc_structure (str): If None, entries returned are
                  ComputedEntries. If inc_structure="final",
                  ComputedStructureEntries with final structures are returned.
                  Otherwise, ComputedStructureEntries with initial structures
                  are returned.
              property_data (list): Specify additional properties to include in
                  entry.data. If None, no data. Should be a subset of
                  supported_properties.
              conventional_unit_cell (bool): Whether to get the standard
                  conventional unit cell
  
          Returns:
              ComputedEntry or ComputedStructureEntry object.