## Change Summary

Fix a few issues needing docs updates:
* #7774 - adding more examples to docs for using `Generic` with `BaseModel`
* #7772 - clarifying the nature of `model_json_schema()` return value as a jsonable `dict`
* #7757 - adding example to docs re use of `use_enum_values` and `validate_default=True` on a field
* #7805 - documenting the fact that `from_attributes` is not supported when using `TypeAdapter` with a Pydantic dataclass

## Related issue number

Fix #7774
Fix #7772
#7757 was already closed, but following up with a docs update
Fix #7805

## Checklist

* [x] The pull request title is a good summary of the changes - it will be used in the changelog
* [ ] Unit tests for the changes exist
* [ ] Tests pass on CI
* [x] Documentation reflects the changes where applicable
* [x] My PR is ready to review, **please add a comment including the phrase "please review" to assign reviewers**


Selected Reviewer: @samuelcolvin
Minor docs updates based on issues with docs flags. ## Change Summary

Fix a few issues needing docs updates:
* #7774 - adding more examples to docs for using `Generic` with `BaseModel`
* #7772 - clarifying the nature of `model_json_schema()` return value as a jsonable `dict`
* #7757 - adding example to docs re use of `use_enum_values` and `validate_default=True` on a field
* #7805 - documenting the fact that `from_attributes` is not supported when using `TypeAdapter` with a Pydantic dataclass

## Related issue number

Fix #7774
Fix #7772
#7757 was already closed, but following up with a docs update
Fix #7805

## Checklist

* [x] The pull request title is a good summary of the changes - it will be used in the changelog
* [ ] Unit tests for the changes exist
* [ ] Tests pass on CI
* [x] Documentation reflects the changes where applicable
* [x] My PR is ready to review, **please add a comment including the phrase "please review" to assign reviewers**


Selected Reviewer: @samuelcolvin
__all__ = 'compiled', 'VERSION', 'version_info'

VERSION = '1.10.13'

try:
    import cython  # type: ignore
except ImportError:
    compiled: bool = False
else:  # pragma: no cover
    try:
        compiled = cython.compiled
    except AttributeError:
        compiled = False


def version_info() -> str:
    import platform
    import sys
    from importlib import import_module
    from pathlib import Path

    optional_deps = []
    for p in ('devtools', 'dotenv', 'email-validator', 'typing-extensions'):
        try:
            import_module(p.replace('-', '_'))
        except ImportError:
            continue
        optional_deps.append(p)

    info = {
        'pydantic version': VERSION,
        'pydantic compiled': compiled,
        'install path': Path(__file__).resolve().parent,
        'python version': sys.version,
        'platform': platform.platform(),
        'optional deps. installed': optional_deps,
    }
    return '\n'.join('{:>30} {}'.format(k + ':', str(v).replace('\n', ' ')) for k, v in info.items())

__all__ = 'compiled', 'VERSION', 'version_info'

VERSION = '1.10.13'

try:
    import cython  # type: ignore
except ImportError:
    compiled: bool = False
else:  # pragma: no cover
    try:
        compiled = cython.compiled
    except AttributeError:
        compiled = False


def version_info() -> str:
    import platform
    import sys
    from importlib import import_module
    from pathlib import Path

    optional_deps = []
    for p in ('devtools', 'dotenv', 'email-validator', 'typing-extensions'):
        try:
            import_module(p.replace('-', '_'))
        except ImportError:
            continue
        optional_deps.append(p)

    info = {
        'pydantic version': VERSION,
        'pydantic compiled': compiled,
        'install path': Path(__file__).resolve().parent,
        'python version': sys.version,
        'platform': platform.platform(),
        'optional deps. installed': optional_deps,
    }
    return '\n'.join('{:>30} {}'.format(k + ':', str(v).replace('\n', ' ')) for k, v in info.items())
