data/registry_model/manifestbuilder.py
def lookup_layer(self, layer_id):
        """
        Returns a layer with the given ID under this builder.

        If none exists, returns None.
        """
        if layer_id not in self._builder_state.images:
            return None

        image = model.image.get_image_by_db_id(self._builder_state.images[layer_id])
        if image is None:
            return None

        return ManifestLayer(layer_id, image.v1_json_metadata, image.id)

        Returns a layer with the given ID under this builder.

        If none exists, returns None.
        
Returns a layer with the given ID under this builder.
If none exists, returns None.
Returns a layer with the given ID under this builder . If none exists returns None .
def lookup_layer(self, layer_id):
        if layer_id not in self._builder_state.images:
            return None
        image = model.image.get_image_by_db_id(self._builder_state.images[layer_id])
        if image is None:
            return None
        return ManifestLayer(layer_id, image.v1_json_metadata, image.id)
def lookup_layer ( self , layer_id ) : if layer_id not in self . _builder_state . images : return None image = model . image . get_image_by_db_id ( self . _builder_state . images [ layer_id ] ) if image is None : return None return ManifestLayer ( layer_id , image . v1_json_metadata , image . id )
Returns a layer with the given ID under this builder.
Returns a layer with the given ID under this builder .
"""
        Returns a layer with the given ID under this builder.

        If none exists, returns None.
        """
self
layer_id