prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Accessor not available in dataset
  I fetched the latest updates after the lazy_loading PR and ran pytest and am seeing a lot of errors with accessors not loading.  Clean, QCFilter, and QCTests are no longer available in the datasets for some reason.
  
  FAILED test_io.py::test_io_mfdataset - AttributeError: 'Dataset' object has no attribute 'clean'
  FAILED test_io.py::test_io_write - AttributeError: 'Dataset' object has no attribute 'clean'
  FAILED test_io.py::test_clean_cf_qc - AttributeError: 'Dataset' object has no attribute 'clean'
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `act/qc/__init__.py`
  Content:
  ```
  1 """
  2 This module contains procedures for working with QC information
  3 and for applying tests to data.
  4 
  5 """
  6 
  7 import lazy_loader as lazy
  8 
  9 # We need to import clean first to register the accessor
  10 from .clean import *
  11 
  12 __getattr__, __dir__, __all__ = lazy.attach(
  13     __name__,
  14     submodules=[
  15         'add_supplemental_qc',
  16         'arm',
  17         'bsrn_tests',
  18         'comparison_tests',
  19         'qcfilter',
  20         'qctests',
  21         'radiometer_tests',
  22         'sp2',
  23     ],
  24     submod_attrs={
  25         'arm': ['add_dqr_to_qc'],
  26         'qcfilter': ['QCFilter'],
  27         'qctests': ['QCTests'],
  28         'radiometer_tests': ['fft_shading_test'],
  29         'bsrn_tests': ['QCTests'],
  30         'comparison_tests': ['QCTests'],
  31         'add_supplemental_qc': ['read_yaml_supplemental_qc'],
  32         'sp2': ['SP2ParticleCriteria', 'get_waveform_statistics'],
  33     },
  34 )
  35
  ```
  
  Path: `act/__init__.py`
  Content:
  ```
  1 """
  2 ACT: The Atmospheric Community Toolkit
  3 ======================================
  4 
  5 """
  6 
  7 import lazy_loader as lazy
  8 # No more pandas warnings
  9 from pandas.plotting import register_matplotlib_converters
  10 
  11 from . import tests
  12 from ._version import get_versions
  13 
  14 register_matplotlib_converters()
  15 
  16 # Import the lazy loaded modules
  17 submodules = [
  18     'corrections',
  19     'discovery',
  20     'io',
  21     'qc',
  22     'utils',
  23     'retrievals',
  24     'plotting',
  25 ]
  26 __getattr__, __dir__, _ = lazy.attach(__name__, submodules)
  27 
  28 # Version for source builds
  29 vdict = get_versions()
  30 __version__ = vdict['version']
  31
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/act/__init__.py b/act/__init__.py
  --- a/act/__init__.py
  +++ b/act/__init__.py
  @@ -5,11 +5,13 @@
   """
   
   import lazy_loader as lazy
  +
   # No more pandas warnings
   from pandas.plotting import register_matplotlib_converters
   
   from . import tests
   from ._version import get_versions
  +from .qc import QCFilter, QCTests, clean
   
   register_matplotlib_converters()
   
  diff --git a/act/qc/__init__.py b/act/qc/__init__.py
  --- a/act/qc/__init__.py
  +++ b/act/qc/__init__.py
  @@ -8,6 +8,8 @@
   
   # We need to import clean first to register the accessor
   from .clean import *
  +from .qcfilter import QCFilter
  +from .qctests import QCTests
   
   __getattr__, __dir__, __all__ = lazy.attach(
       __name__,
  
verification_info: {"golden_diff": "diff --git a/act/__init__.py b/act/__init__.py\n--- a/act/__init__.py\n+++ b/act/__init__.py\n@@ -5,11 +5,13 @@\n \"\"\"\n \n import lazy_loader as lazy\n+\n # No more pandas warnings\n from pandas.plotting import register_matplotlib_converters\n \n from . import tests\n from ._version import get_versions\n+from .qc import QCFilter, QCTests, clean\n \n register_matplotlib_converters()\n \ndiff --git a/act/qc/__init__.py b/act/qc/__init__.py\n--- a/act/qc/__init__.py\n+++ b/act/qc/__init__.py\n@@ -8,6 +8,8 @@\n \n # We need to import clean first to register the accessor\n from .clean import *\n+from .qcfilter import QCFilter\n+from .qctests import QCTests\n \n __getattr__, __dir__, __all__ = lazy.attach(\n     __name__,\n", "issue": "Accessor not available in dataset\nI fetched the latest updates after the lazy_loading PR and ran pytest and am seeing a lot of errors with accessors not loading.  Clean, QCFilter, and QCTests are no longer available in the datasets for some reason.\r\n\r\nFAILED test_io.py::test_io_mfdataset - AttributeError: 'Dataset' object has no attribute 'clean'\r\nFAILED test_io.py::test_io_write - AttributeError: 'Dataset' object has no attribute 'clean'\r\nFAILED test_io.py::test_clean_cf_qc - AttributeError: 'Dataset' object has no attribute 'clean'\n", "before_files": [{"content": "\"\"\"\nThis module contains procedures for working with QC information\nand for applying tests to data.\n\n\"\"\"\n\nimport lazy_loader as lazy\n\n# We need to import clean first to register the accessor\nfrom .clean import *\n\n__getattr__, __dir__, __all__ = lazy.attach(\n    __name__,\n    submodules=[\n        'add_supplemental_qc',\n        'arm',\n        'bsrn_tests',\n        'comparison_tests',\n        'qcfilter',\n        'qctests',\n        'radiometer_tests',\n        'sp2',\n    ],\n    submod_attrs={\n        'arm': ['add_dqr_to_qc'],\n        'qcfilter': ['QCFilter'],\n        'qctests': ['QCTests'],\n        'radiometer_tests': ['fft_shading_test'],\n        'bsrn_tests': ['QCTests'],\n        'comparison_tests': ['QCTests'],\n        'add_supplemental_qc': ['read_yaml_supplemental_qc'],\n        'sp2': ['SP2ParticleCriteria', 'get_waveform_statistics'],\n    },\n)\n", "path": "act/qc/__init__.py"}, {"content": "\"\"\"\nACT: The Atmospheric Community Toolkit\n======================================\n\n\"\"\"\n\nimport lazy_loader as lazy\n# No more pandas warnings\nfrom pandas.plotting import register_matplotlib_converters\n\nfrom . import tests\nfrom ._version import get_versions\n\nregister_matplotlib_converters()\n\n# Import the lazy loaded modules\nsubmodules = [\n    'corrections',\n    'discovery',\n    'io',\n    'qc',\n    'utils',\n    'retrievals',\n    'plotting',\n]\n__getattr__, __dir__, _ = lazy.attach(__name__, submodules)\n\n# Version for source builds\nvdict = get_versions()\n__version__ = vdict['version']\n", "path": "act/__init__.py"}], "after_files": [{"content": "\"\"\"\nThis module contains procedures for working with QC information\nand for applying tests to data.\n\n\"\"\"\n\nimport lazy_loader as lazy\n\n# We need to import clean first to register the accessor\nfrom .clean import *\nfrom .qcfilter import QCFilter\nfrom .qctests import QCTests\n\n__getattr__, __dir__, __all__ = lazy.attach(\n    __name__,\n    submodules=[\n        'add_supplemental_qc',\n        'arm',\n        'bsrn_tests',\n        'comparison_tests',\n        'qcfilter',\n        'qctests',\n        'radiometer_tests',\n        'sp2',\n    ],\n    submod_attrs={\n        'arm': ['add_dqr_to_qc'],\n        'qcfilter': ['QCFilter'],\n        'qctests': ['QCTests'],\n        'radiometer_tests': ['fft_shading_test'],\n        'bsrn_tests': ['QCTests'],\n        'comparison_tests': ['QCTests'],\n        'add_supplemental_qc': ['read_yaml_supplemental_qc'],\n        'sp2': ['SP2ParticleCriteria', 'get_waveform_statistics'],\n    },\n)\n", "path": "act/qc/__init__.py"}, {"content": "\"\"\"\nACT: The Atmospheric Community Toolkit\n======================================\n\n\"\"\"\n\nimport lazy_loader as lazy\n\n# No more pandas warnings\nfrom pandas.plotting import register_matplotlib_converters\n\nfrom . import tests\nfrom ._version import get_versions\nfrom .qc import QCFilter, QCTests, clean\n\nregister_matplotlib_converters()\n\n# Import the lazy loaded modules\nsubmodules = [\n    'corrections',\n    'discovery',\n    'io',\n    'qc',\n    'utils',\n    'retrievals',\n    'plotting',\n]\n__getattr__, __dir__, _ = lazy.attach(__name__, submodules)\n\n# Version for source builds\nvdict = get_versions()\n__version__ = vdict['version']\n", "path": "act/__init__.py"}]}