In the BlueJeans REST API for Python, unable to import ScheduleMeetingMinComp()?

  • 1
  • Question
  • Updated 3 weeks ago

I'm trying to follow the example at https://github.com/bluejeans/api-rest-meetings/blob/master/libs/python/docs/MeetingApi.md#create_meeting. In my Django project, I've installed BlueJeansMeetingsRestApi:

(lucy-web-CVxkrCFK) bash-3.2$ pip freeze | grep BlueJeans
BlueJeansMeetingsRestApi==1.0.0

However, in the Django shell, I get an AttributeError if I try to instantiate a ScheduleMeetingMinComp:

(lucy-web-CVxkrCFK) bash-3.2$ python manage.py shell
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24) 
Type 'copyright', 'credits' or 'license' for more information
IPython 6.4.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import BlueJeansMeetingsRestApi

In [2]: BlueJeansMeetingsRestApi.ScheduleMeetingMinComp()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-2-930a0192e730> in <module>()
----> 1 BlueJeansMeetingsRestApi.ScheduleMeetingMinComp()

AttributeError: module 'BlueJeansMeetingsRestApi' has no attribute 'ScheduleMeetingMinComp'

In [3]: 

In the git repository, it seems that this class is defined in the module https://github.com/bluejeans/api-rest-meetings/blob/master/libs/python/BlueJeansMeetingsRestApi/models/schedule_meeting_min_comp.py. However, in my virtualenv, there is no such security module:

Kurts-MacBook-Pro-2:models kurtpeek$ pwd
/Users/kurtpeek/.local/share/virtualenvs/lucy-web-CVxkrCFK/src/bluejeansmeetingsrestapi/BlueJeansMeetingsRestApi/models
Kurts-MacBook-Pro-2:models kurtpeek$ ls *py
__init__.py                 grant_refresh_scope.py
analytics_endpoint_distribution.py      grant_request_client.py
analytics_endpoint_distribution_distribution.py grant_request_code.py
analytics_feedback_comments.py          grant_request_meeting.py
analytics_feedback_comments_comments.py     grant_request_password.py
analytics_feedback_scores.py            grant_request_refresh.py
analytics_roi_data.py               grant_request_revoke.py
analytics_roi_data_roi_ranges.py        granted_applications.py
analytics_top_users.py              inline_response_200.py
analytics_top_users_usage.py            layout.py
analytics_usage.py              meeting.py
analytics_usage_usage.py            meeting_advanced_meeting_options.py
application.py                  meeting_extended_indigo.py
application_secret.py               meeting_history.py
attendee.py                 meeting_history_leader_info.py
content.py                  meeting_history_participant_list.py
content_content_properties.py           meeting_history_sharing.py
content_content_properties_levels.py        meeting_indigo.py
dialout_pstn.py                 meeting_indigo_list.py
endpoint.py                 meeting_state.py
endpoint_indigo.py              meeting_state_recordinginfo.py
endpoint_indigo_endpoint_attributes1.py     numbers.py
endpoint_indigo_location.py         numbers_label.py
endpoint_indigo_summary_stats.py        numbers_numbers.py
endpoint_indigo_traceroute.py           pairing_code_sip.py
endpoint_indigo_traceroute_trace_path.py    pairing_code_sip_turnservers.py
endpoints.py                    pairing_code_web_rtc.py
endpoints_inner.py              partition.py
endpoints_inner_connections.py          payload_dialout.py
enterprise.py                   payload_invite.py
enterprise_user_list.py             payload_meeting_state.py
enterprise_user_list_users.py           payload_pairing_code_pstn.py
error.py                    payload_pairing_code_sip.py
grant_client.py                 payload_pairing_code_web_rtc.py
grant_client_scope.py               recording.py
grant_code.py                   recording_history.py
grant_code_scope.py             recording_history_list.py
grant_code_scope_app_permissions.py     recording_recording_chapters.py
grant_meeting.py                recording_session.py
grant_meeting_scope.py              recording_session_started_by.py
grant_meeting_scope_meeting.py          recording_summary.py
grant_password.py               room.py
grant_password_scope.py             user.py
grant_refresh.py                user_id.py
It seems like the Github repo is somehow not up to date?
Photo of sarahjohn

sarahjohn

  • 100 Points 100 badge 2x thumb

Posted 3 weeks ago

  • 1

Be the first to post a reply!