Skip to content

Commit

Permalink
feat: added pro tip about auto display_name from transform class name
Browse files Browse the repository at this point in the history
  • Loading branch information
felixatmaltego committed Jul 8, 2021
1 parent 0f31050 commit 8c4f38c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,12 @@ class GreetPerson(DiscoverableTransform):
...
```

**Pro Tip:** If the `display_name` is either `None` or `""`, the registry will try to create a display name from the class
name:

- `DNSToIP` 'DNS To IP'
- `GreetPerson` 'Greet Person'

### Transform Settings

You can declare transform settings in a central location and add them to the registry.
Expand Down

0 comments on commit 8c4f38c

Please sign in to comment.