A common use case is to create a read-only, or view-only role for all things within Nautobot. This is a way to create the role via the Nautobot shell.
Using nautobot-server shell_plus
ct = ContentType.objects.all()
ct.filter(
Q(I hereby claim:
To claim this, I am signing this object:
| import neopixel | |
| import busio as io | |
| from board import A0, SCL, SDA | |
| import adafruit_ds3231 | |
| i2c = io.I2C(SCL, SDA) | |
| rtc = adafruit_ds3231.DS3231(i2c) | |
| p = A0 | |
| ps = 169 | |
| pls = neopixel.NeoPixel(p, ps, brightness=.1, auto_write=False) | |
| #colors + off (will be adding more in the future) |