google/cloud/bigquery/dataset.py
def _parse_access_entries(access):
        """Parse a resource fragment into a set of access entries.

        ``role`` augments the entity type and present **unless** the entity
        type is ``view``.

        :type access: list of mappings
        :param access: each mapping represents a single access entry.

        :rtype: list of :class:`~google.cloud.bigquery.dataset.AccessEntry`
        :returns: a list of parsed entries.
        :raises: :class:`ValueError` if a entry in ``access`` has more keys
                 than ``role`` and one additional key.
        """
        result = []
        for entry in access:
            entry = entry.copy()
            role = entry.pop('role', None)
            entity_type, entity_id = entry.popitem()
            if len(entry) != 0:
                raise ValueError('Entry has unexpected keys remaining.', entry)
            result.append(
                AccessEntry(role, entity_type, entity_id))
        return result
Parse a resource fragment into a set of access entries.

        ``role`` augments the entity type and present **unless** the entity
        type is ``view``.

        :type access: list of mappings
        :param access: each mapping represents a single access entry.

        :rtype: list of :class:`~google.cloud.bigquery.dataset.AccessEntry`
        :returns: a list of parsed entries.
        :raises: :class:`ValueError` if a entry in ``access`` has more keys
                 than ``role`` and one additional key.
        
Parse a resource fragment into a set of access entries.
Parse a resource fragment into a set of access entries .
def _parse_access_entries(access):
        result = []
        for entry in access:
            entry = entry.copy()
            role = entry.pop('role', None)
            entity_type, entity_id = entry.popitem()
            if len(entry) != 0:
                raise ValueError('Entry has unexpected keys remaining.', entry)
            result.append(
                AccessEntry(role, entity_type, entity_id))
        return result
def _parse_access_entries ( access ) : result = [ ] for entry in access : entry = entry . copy ( ) role = entry . pop ( 'role' , None ) entity_type , entity_id = entry . popitem ( ) if len ( entry ) != 0 : raise ValueError ( 'Entry has unexpected keys remaining.' , entry ) result . append ( AccessEntry ( role , entity_type , entity_id ) ) return result
Parse a resource fragment into a set of access entries.
Parse a resource fragment into a set of access entries .
"""Parse a resource fragment into a set of access entries.

        ``role`` augments the entity type and present **unless** the entity
        type is ``view``.

        :type access: list of mappings
        :param access: each mapping represents a single access entry.

        :rtype: list of :class:`~google.cloud.bigquery.dataset.AccessEntry`
        :returns: a list of parsed entries.
        :raises: :class:`ValueError` if a entry in ``access`` has more keys
                 than ``role`` and one additional key.
        """
a list of parsed entries.
a list of parsed entries .
list of :class:`~google.cloud.bigquery.dataset.AccessEntry`
:class:`ValueError` if a entry in ``access`` has more keys
than ``role`` and one additional key.
: class : ` ValueError ` if a entry in ` ` access ` ` has more keys than ` ` role ` ` and one additional key .
access
each mapping represents a single access entry.
each mapping represents a single access entry .