Make a custom function that checks the string length and throws an exception if length is 0, then use that as the argument's type
def non_empty_string(s):
if not s:
raise ValueError("Must not be empty string")
return s
parser.add_argument('name', required=True, nullable=False, type=non_empty_string)