/**
 * Autogenerated by Thrift for shared.thrift
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 *  @generated
 */

#pragma once

#include <functional>
#include <folly/Range.h>

#include "thrift/compiler/test/fixtures/interactions/gen-cpp2/shared_data.h"
#include "thrift/compiler/test/fixtures/interactions/gen-cpp2/shared_types.h"
#include "thrift/compiler/test/fixtures/interactions/gen-cpp2/shared_metadata.h"
namespace thrift {
namespace py3 {



template<>
inline void reset_field<::thrift::shared_interactions::DoSomethingResult>(
    ::thrift::shared_interactions::DoSomethingResult& obj, uint16_t index) {
  switch (index) {
    case 0:
      obj.s_res_ref().copy_from(default_inst<::thrift::shared_interactions::DoSomethingResult>().s_res_ref());
      return;
    case 1:
      obj.i_res_ref().copy_from(default_inst<::thrift::shared_interactions::DoSomethingResult>().i_res_ref());
      return;
  }
}

template<>
inline const std::unordered_map<std::string_view, std::string_view>& PyStructTraits<
    ::thrift::shared_interactions::DoSomethingResult>::namesmap() {
  static const folly::Indestructible<NamesMap> map {
    {
    }
  };
  return *map;
}
} // namespace py3
} // namespace thrift
