Derive Macro FromPyObject
#[derive(FromPyObject)]
{
    // Attributes available to this derive:
    #[pyo3]
}
Available on crate feature 
macros only.#[derive(FromPyObject)]
{
    // Attributes available to this derive:
    #[pyo3]
}
macros only.