docstr: Get schema from class __init__ arguments
docstr_tok: ["Get","schema","from","class","__init__","arguments"]
code: def test_schema_from_argspec(self):
      """
      Get schema from class __init__ arguments
      """
      schema = self.schema.copy()
      for param in schema["properties"]:
          keys_to_delete = [
              key
              for key in schema["properties"][param]
              if not key in ["type", "default"]
          ]
          for key in keys_to_delete:
              del schema["properties"][param][key]
      self.assertDictEqual(
          self.has_param_cls.schema_from_argspec(), schema
      )
  
file_path: TimeSide/tests/test_tools_parameters.py
imports: import unittest
  from unit_timeside import TestRunner
  from timeside.core.tools.parameters import HasParam, HasTraits
  from timeside.core.tools.parameters import Unicode, Int, Float, Range
  from timeside.core.tools.parameters import store_parameters
  from timeside.core.tools.parameters import DEFAULT_SCHEMA
  import simplejson
  from jsonschema import ValidationError
label_desc: Use image node_id 7 for calling the TestHasParam obj's underlying member method code with example usage: obj.test_schema_from_argspec() without return types