# Warnings

Warnings are what randomstuff.py (wrapper) uses to warn the user about possible issues without interrupting the actual program. They are different then errors as they don't stop your program.

These are simple print statements used to warn the user about certain threats or issues like outdated version, outdated method, deprecation warnings etc.

## Example

To see how warnings look like, You can dive into your code and set [`version`](https://nerdguyahmad.gitbook.io/randomstuff/clients/client#version) kwarg in [`Client`](https://nerdguyahmad.gitbook.io/randomstuff/clients/client) to an outdated version like `"3"` .

When you run the program, you will see that it prints in console that the version is outdated and you are advised to migrate to better version.

## Suppressing warnings

Just in case you don't want these warnings, you can suppress them by setting [`suppress_warnings`](https://nerdguyahmad.gitbook.io/randomstuff/clients/client#suppress_warnings) to `True` in [`Client`](https://nerdguyahmad.gitbook.io/randomstuff/clients/client). These warnings won't be shown then.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nerdguyahmad.gitbook.io/randomstuff/brief/warnings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
