def upload_bel_namespace(self, update: bool = False) -> Namespace:
if not self.is_populated():<EOL><INDENT>self.populate()<EOL><DEDENT>namespace = self._get_default_namespace()<EOL>if namespace is None:<EOL><INDENT>log.info('<STR_LIT>', self._get_namespace_name())<EOL>return self._make_namespace()<EOL><DEDENT>if update:<EOL><INDENT>self._update_namespace(namespace)<EOL><DEDENT>return namespace<EOL>
Upload the namespace to the PyBEL database.

        :param update: Should the namespace be updated first?