code: def test_feature_from_dict_kwargs_2():
      """From GeoJSON kwargs using Geometry and Properties"""
      data = {
          "id": "foo",
          "type": "Feature",
          "geometry": Geometry(type="Point", coordinates=(0, 0)),
          "properties": Properties(a=0, b="bar"),
          "extras": {"this": 1},
      }
      feat = Feature.from_dict(**data)
      assert feat.id == "foo"
      assert feat.type == "Feature"
      assert feat.geometry.type == "Point"
      assert feat.geometry.coordinates == (0, 0)
      assert len(feat.properties) == 2
      assert feat.properties["a"] == 0
      assert feat.properties["b"] == "bar"
      assert feat["extras"]["this"] == 1
  
imports: import pytest
  from fiona.errors import FionaDeprecationWarning
  from fiona.model import _Geometry, Feature, Geometry, Object, ObjectEncoder, Properties, decode_object
label_desc: Use image node_id 22 for calling a global function with example usage: test_feature_from_dict_kwargs_2() without return types