def render_store_metadata_in_osv3(self, use_auth=None):
        try:
            self.dj.dock_json_set_arg('exit_plugins', "store_metadata_in_osv3",
                                      "url",
                                      self.spec.builder_openshift_url.value)

            if use_auth is not None:
                self.dj.dock_json_set_arg('exit_plugins',
                                          "store_metadata_in_osv3",
                                          "use_auth", use_auth)
        except __HOLE__:
            # For compatibility with older osbs.conf files
            self.dj.dock_json_set_arg('postbuild_plugins',
                                      "store_metadata_in_osv3",
                                      "url",
                                      self.spec.builder_openshift_url.value)

            if use_auth is not None:
                # For compatibility with older osbs.conf files
                self.dj.dock_json_set_arg('postbuild_plugins',
                                          "store_metadata_in_osv3",
                                          "use_auth", use_auth)
dataset/ETHPy150Open projectatomic/osbs-client/osbs/build/build_request.py/CommonBuild.render_store_metadata_in_osv3