def _useAttributes()

in asfyaml/feature/github/deployment_environments.py [0:0]


    def _useAttributes(self, attributes: dict[str, Any]) -> None:  # noqa: N802
        if "id" in attributes:
            self._id = self._makeIntAttribute(attributes["id"])
        if "name" in attributes:  # pragma no branch
            self._name = self._makeStringAttribute(attributes["name"])