Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions notecard/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


@validate_card_object
def default(card, name=None, sync=None, text=None):
def default(card, name, sync=None, text=None):
"""Use by the Notecard host to specify a default value for an environment variable until that variable is overridden by a device, project or fleet-wide setting at Notehub.

Args:
Expand Down Expand Up @@ -76,7 +76,7 @@ def modified(card, time=None):


@validate_card_object
def set(card, name=None, text=None):
def set(card, name, text=None):
"""Set a local environment variable on the Notecard. Local environment variables cannot be overridden by a Notehub variable of any scope.

Args:
Expand Down