<@ULVA73B9P> After updating to 2.19.8 i'm getting ...
# ask-marvin
a
@Marvin After updating to 2.19.8 i'm getting below errors apprise - Unsupported URL There are no service(s) to notify
m
It seems there isn't much in the Prefect documentation or GitHub issues directly related to the error message you're encountering. However, you might want to check the following: 1. Ensure your Apprise configuration URLs are correct: The "Unsupported URL" error typically means there's an issue with the URL specified for the notification service. 2. Verify that the services you are trying to use are supported in the latest version of Apprise you are using. If the issue persists, it would be beneficial to check the Apprise documentation or open an issue in their repository for more targeted support. For now, you might want to review your configuration and cross-check with the Apprise documentation to ensure compatibility. Unfortunately, there isn't a direct solution from the Prefect side based on the available information.
a
@Marvin how can i unregister a installed integration I want to uninstall the prefect-kubernetes and unregister its block
m
To remove the
prefect-kubernetes
integration and unregister its blocks, follow these steps: 1. Uninstall the Prefect Kubernetes integration: Run the following pip command to uninstall the package:
Copy code
pip uninstall prefect-kubernetes
2. Unregister the blocks: Unfortunately, there isn't a direct "unregister" command in Prefect. However, simply removing the integration should suffice for most purposes. If required, you can delete any blocks created via the Prefect UI or through the code. If you have any blocks to remove programmatically, you can use Prefect's API to delete them:
Copy code
python
   from prefect.client import OrionClient
   from prefect.blocks.system import Block

   async def delete_block(block_name: str):
       async with OrionClient() as client:
           block = await Block.load(block_name)
           await client.block_documents.delete_block_document(block.id)

   # Replace 'your-block-name' with the actual block name
   await delete_block("your-block-name")
For more detailed information, you can refer to the Prefect documentation on integrations. This should help you clean up the
prefect-kubernetes
integration and its blocks from your environment.