Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vedpatwardhan committed Sep 19, 2024
1 parent b4d9694 commit 0795e64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ nested structure to skip as values.
### set\_keys\_to\_skip

```python
def set_keys_to_skip(skip_keys: Dict[Type, Dict]) -> None
def set_keys_to_skip(skip_keys: Union[Dict[Type, Dict], str]) -> None
```

Set the keys to be skipped during representation, which is a dict with types as keys
Expand Down Expand Up @@ -211,7 +211,7 @@ nested structure to keep as values.
### set\_keys\_to\_keep

```python
def set_keys_to_keep(keep_keys: Dict[Type, Dict]) -> None
def set_keys_to_keep(keep_keys: Union[Dict[Type, Dict], str]) -> None
```

Set the keys to be kept during representation, which is a dict with types as keys
Expand Down Expand Up @@ -279,7 +279,7 @@ class KeepKeys()
### \_\_init\_\_

```python
def __init__(keep_keys: Dict[Type, Dict])
def __init__(keep_keys: Union[Dict[Type, Dict], str])
```

Set a the keys to keep for a specific context in the code, by using the
Expand All @@ -305,7 +305,7 @@ class SkipKeys()
### \_\_init\_\_

```python
def __init__(skip_keys: Dict[Type, Dict])
def __init__(skip_keys: Union[Dict[Type, Dict], str])
```

Set a the keys to skip for a specific context in the code, by using the
Expand Down

0 comments on commit 0795e64

Please sign in to comment.