Provide complete samples, not code snippets
Please provide more details, this is not a question.
What do you mean by complete sample not snippet, what is the difference between them?
If you're talking about the snippets in the documentation, you can find the full examples in the docs_src in this repository.
Most helpful comment
Please provide more details, this is not a question.