o
    SDiV"                     @   s>  d dl Z d dlmZ d dlmZ ejZe jdkrd dlm	Z	 nd dl
Z	ddlmZmZ ddlmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z' ddl(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZAmBZBmCZCmDZDmEZEmFZFmGZGmHZHmIZImJZJmKZKmLZL eMed	reMed
reNd eOd d8ZadS zd dl Z d dlPZPe jQR d  ZSdZTe jdk rePUddeS d deT d d deT d eV e jdd dkrePUdeS ddeT d d d d deT d eV deWfdd ZXd!d" ZYd#ZZd$Z[d%Z\d&Z]eYeZ\Z^Z_e^re^e\k rePUd'eT d(eZ d) e_ d* eT d+eZ d, d-e[ d.e] d d/ d0 d1eZ d2 eT d3 d4 d5e[ d6 eZ d eV W d8ZadS W d8ZadS W d8ZadS  e`y   ePUd7 Y d8ZadS w )9    N)gapic_version)      )metadata   )BetaAnalyticsDataAsyncClientBetaAnalyticsDataClient)AudienceDimensionAudienceDimensionValueAudienceExportAudienceExportMetadataAudienceRowBatchRunPivotReportsRequestBatchRunPivotReportsResponseBatchRunReportsRequestBatchRunReportsResponseCheckCompatibilityRequestCheckCompatibilityResponseCreateAudienceExportRequestGetAudienceExportRequestGetMetadataRequestListAudienceExportsRequestListAudienceExportsResponseMetadataQueryAudienceExportRequestQueryAudienceExportResponseRunPivotReportRequestRunPivotReportResponseRunRealtimeReportRequestRunRealtimeReportResponseRunReportRequestRunReportResponse)$CohortCohortReportSettings
CohortSpecCohortsRange
ComparisonComparisonMetadataCompatibility	DateRange	DimensionDimensionCompatibilityDimensionExpressionDimensionHeaderDimensionMetadataDimensionValueFilterFilterExpressionFilterExpressionListMetricMetricAggregationMetricCompatibilityMetricHeaderMetricMetadata
MetricTypeMetricValueMinuteRangeNumericValueOrderByPivotPivotDimensionHeaderPivotHeaderPropertyQuotaQuotaStatusResponseMetaDataRestrictedMetricTypeRowSamplingMetadatacheck_python_versioncheck_dependency_versionszgoogle.analytics.data_v1beta)r   	   z-You are using a non-supported Python version (z%).  Google will not post any further zupdates to z! supporting this Python version. z3Please upgrade to the latest Python version, or at z%least to Python 3.9, and then update .   z You are using a Python version (z) z%which Google will stop supporting in z in zJanuary 2026. Please z,upgrade to the latest Python version, or at z'least to Python 3.10, before then, and zthen update version_stringc              	   C   sH   g }|  dD ]}z	|t| W q ty   Y  t|S w t|S )a  Safely converts a semantic version string to a comparable tuple of integers.
            Example: "4.25.8" -> (4, 25, 8)
            Ignores non-numeric parts and handles common version formats.
            Args:
                version_string: Version string in the format "x.y.z" or "x.y.z<suffix>"
            Returns:
                Tuple of integers for the parsed version string.
            rJ   )splitappendint
ValueErrortuple)rL   partspart rT   ^/var/www/Datamplify/venv/lib/python3.10/site-packages/google/analytics/data_v1beta/__init__.pyparse_version_to_tuple   s   	rV   c                 C   s2   zt | }t|}||fW S  ty   Y dS w )N)Nz--)r   versionrV   	Exception)dependency_namerL   parsed_versionrT   rT   rU   _get_version   s   

r[   zgoogle.protobufz4.25.8)      r   z (we recommend 6.x)zPackage z depends on z!, currently installed at version z. Future updates to z will require z at zversion z
 or higherz Please ensure z8that either (a) your Python environment doesn't pin the zversion of z, so that updates to z$ can require the higher version, or z:(b) you manually update your Python environment to use at zleast version z of zCould not determine the version of Python currently being used. To continue receiving updates for {_package_label}, ensure you are using a supported version of Python; see https://devguide.python.org/versions/)?r   r	   r
   r   r   r   r   r   r   r   r   r   r   r"   r#   r$   r%   r&   r'   r(   r   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r   r   r   r   r   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   r   r   rA   rB   rC   rD   r   r   r   r   r    r!   rE   )bsysgoogle.api_coreapi_coregoogle.analytics.data_v1betar   package_version__version__version_info	importlibr   importlib_metadataservices.beta_analytics_datar   r   types.analytics_data_apir	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   
types.datar"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   hasattrrF   rG   warningsrW   rM   _py_version_str_package_labelwarnFutureWarningstrrV   r[   _dependency_package_next_supported_version_next_supported_version_tuple_recommendation_version_used_version_used_stringrX   __all__rT   rT   rT   rU   <module>   s   
l'

Z










	

