refactor(tokens_rs): adding conditional compilation for an import
This commit is contained in:
parent
df3dc66ea0
commit
2c5385ff47
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
//! warned that the types here help with the Type safety for the Tag names only. It does
|
||||
//! not guarantee that a given API endpoint will support the given tag.
|
||||
|
||||
#[cfg(feature = "python")]
|
||||
use crate::models::{PostSafety, PostType, SnapshotOperationType, SnapshotResourceType, UserRank};
|
||||
#[cfg(feature = "python")]
|
||||
use pyo3::{exceptions::PyValueError, prelude::*};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue