Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Puerari committed Jan 30, 2024
1 parent af7ab04 commit 1b99671
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,16 @@ These examples show how to use the MiaPlatformClient lib.
Usage example in a generic function:

```python
from src.utils.logger import logger
from src.utils.logger import get_logger

def dummy():
# Define headers for authentication
headers = {
'key': 'value'
}

logger = get_logger()

# Create a MiaPlatformClient instance with the defined headers and imported logger
mia_platform_client = MiaPlatformClient(headers, logger)
```
Expand Down

0 comments on commit 1b99671

Please sign in to comment.