Add `examples`

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

The issue names no project files or tests. Start by locating how variables are defined and validated, then compare the linked dd-trace-py example; done means variables support usage examples and the examples can be checked for validity as requested.

Written by the indexing model from the issue text.

Description

enhancement

Add a field on variables to specify usage examples of the setting. Some people understand quicker through demonstration rather than description.

It would be awesome if the examples can be eval()'d to ensure they are valid.

Rough idea:
https://github.com/DataDog/dd-trace-py/pull/6177/files#diff-b674f9f90ae3c557143deff188becce54ca97a6dfbffd2806049b40ffce39e1dR92-R95

Dominant language
Python
Stars
9
Forks
2
Avg merge
7h 22m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DataDog/envier

All issues in DataDog/envier

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.